403Webshell
Server IP : 46.29.167.47  /  Your IP : 216.73.217.69
Web Server : nginx/1.24.0
System : Linux r1113901 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/pokerguide.ru/wp-content/mu-plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/pokerguide.ru/wp-content/mu-plugins/seo-meta.php
<?php
add_action('wp_head', function() {
    if (!is_singular('post')) return;
    $post_id = get_the_ID();
    if (!$post_id) return;
    $desc = get_post_meta($post_id, 'rank_math_description', true);
    if (empty($desc)) {
        $post = get_post($post_id);
        $desc = $post ? $post->post_excerpt : '';
    }
    if (empty($desc)) return;
    $desc = esc_attr(wp_strip_all_tags($desc));
    echo '<meta name="description" content="' . $desc . '" />' . "\n";
    echo '<meta property="og:description" content="' . $desc . '" />' . "\n";
    echo '<meta name="twitter:description" content="' . $desc . '" />' . "\n";
}, 1);

Youez - 2016 - github.com/yon3zu
LinuXploit