403Webshell
Server IP : 213.132.222.41  /  Your IP : 216.73.216.254
Web Server : Apache
System : Linux plesk4.nlhosting.net 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64
User : thecovenant ( 10927)
PHP Version : 8.3.32
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/thecovenant.nl/httpdocs/new/wp-content/plugins/hide-admin-navbar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/thecovenant.nl/httpdocs/new/wp-content/plugins/hide-admin-navbar/functions.php
<?php

function hide_admin_navbar_load_textdomain() {

    load_plugin_textdomain( 'hide-admin-navbar', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 
}

function hide_admin_navbar_main() {

    return false;
}

function hide_admin_navbar_activation_hook() {

    set_transient( 'hide-admin-navbar-notification', true, 5 );
}

function hide_admin_navbar_activation_notification() {

    if( get_transient( 'hide-admin-navbar-notification' ) ) {

        ?>
        <div class="updated notice is-dismissible">
            <p>
                <?php esc_attr_e( 'Thank you for installing Hide Admin Navbar!', 'hide-admin-navbar' ); ?>
            </p>
        </div>
        <?php
        delete_transient( 'hide-admin-navbar-notification' );
    }
}

function custom_admin_notice() {
    // Check if the notice has been dismissed
    if (get_option('custom_plugin_notice_dismissed')) {
        return;
    }

    ?>
    <div class="notice notice-info is-dismissible" id="custom-plugin-notice">
        <p><b>The future belongs to those who believe in the beauty of their dreams! 🎉 May all your dreams come true in 2024!</b></p>
    </div>
    <script>
        jQuery(document).on('click', '#custom-plugin-notice .notice-dismiss', function() {
            // Store the dismissal state in the database
            jQuery.post(ajaxurl, {
                action: 'dismiss_custom_plugin_notice'
            });
        });
    </script>
    <?php
}

function dismiss_custom_plugin_notice() {
    update_option('custom_plugin_notice_dismissed', true);
    wp_die();
}


Youez - 2016 - github.com/yon3zu
LinuXploit