__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

/**
 * Adds our one line of code to the footer.
 *
 * This class defines all code necessary to run the Accedeme widget.
 *
 * @package    wp_accedeme
 * @subpackage wp_accedeme/includes
 * @author     Accedeme
 */
class wp_accedeme_footer
{
	/**
     * Constructor
     *
     * added v 0.1
     */
    public function __construct() {

//$this->myfile = fopen('./wp-content/plugins/wp-accedeme/wp-accedeme-footer_'.__FUNCTION__.'.txt', 'w') or die('Unable to open file!');
//$txt = '====================== '.__METHOD__.' start ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
        add_action( 'wp_footer', array( $this, 'frontendFooterScript' ), 100); // v 0.1
        //add_action( 'wp_enqueue_scripts', array( $this, 'my_plugin_assets' ), 100 ); // v 0.4
        //add_action( 'wp_footer', array( $this, 'externalScript' ), 100); // v 0.5
//$txt = '====================== '.__METHOD__.' end ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
    }

    /**
     * Adds the line to the portal.
     *
     * added on v 0.1
     *
     * Deprecated but re-used
     */
    function frontendFooterScript(){
//$txt = '====================== '.__METHOD__.' start ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
        if ( function_exists('is_et_pb_preview') && is_et_pb_preview() )
        {
        }
        else
        {
            _e(html_entity_decode(wp_unslash('<script id="accssmm" src="https://cdn.access-me.software/accssme/accssmetool.js"></script>' . PHP_EOL)));
        }
//$txt = '====================== '.__METHOD__.' end ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
    }

    /**
     * Enqueues script
     *
     * added on v 0.4
     *
     * Deprecated
     */
    function my_plugin_assets() {
//$txt = '====================== '.__METHOD__.' start ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
        wp_register_script( 'wp-accedeme', plugins_url( '/wp-accedeme/assets/js/index.js' ) );
        wp_enqueue_script( 'wp-accedeme' );
//$txt = '====================== '.__METHOD__.' end ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
    }

    /**
     * Adds the line to the portal footer.
     *
     * added on v 0.5
     */
    function externalScript(){
//$txt = '====================== '.__METHOD__.' start ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
        //wp_register_script( 'wp-accedeme-script', plugins_url( '/wp-accedeme/assets/js/wp_accedeme_script.js' ) );
        //wp_register_script('wp-accedeme-script', plugins_url('/wp-accedeme/assets/js/wp_accedeme_script.js', __FILE__), array('jquery'),'1.1', true);
$file_path = plugins_url('../wp-accedeme/assets/js/wp_accedeme_script.js', __FILE__);
//$txt = 'Plugins path '.$file_path.PHP_EOL.plugins_url().'/wp-accedeme/assets/js/wp_accedeme_script.js'.PHP_EOL; fwrite($this->myfile, $txt);
//$txt = 'Plugins path '.get_template_directory_uri().PHP_EOL; fwrite($this->myfile, $txt);
        wp_register_script('wp-accedeme-script', plugins_url().'/wp-accedeme/assets/js/wp_accedeme_script.js');
        //wp_register_script('wp-accedeme-script', plugins_url('/wp-accedeme/assets/js/wp_accedeme_script.js'), __FILE__);
        wp_enqueue_script( 'wp-accedeme-script' );
//$txt = '====================== '.__METHOD__.' end ==============================================================='.PHP_EOL; fwrite($this->myfile, $txt);
    }
}

Filemanager

Name Type Size Permission Actions
index.php File 26 B 0775
wp-accedeme-activator.php File 742 B 0775
wp-accedeme-deactivator.php File 534 B 0775
wp-accedeme-footer.php File 3.71 KB 0775
wp-accedeme-helpers.php File 3.33 KB 0775
wp-accedeme-uninstall.php File 554 B 0775
Filemanager