Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

function __construct($config = array(), $strings = array()) { $config = wp_p..

Decoded Output download

<?  function __construct($config = array(), $strings = array()) 
    { 
        $config = wp_parse_args($config, array("remote_api_url" => exthemes, "download_id" => '', "theme_slug" => get_template(), "item_name" => '', "license" => '', "version" => '', "author" => '', "renew_url" => '', "beta" => false)); 
        $this->remote_api_url = $config["remote_api_url"]; 
        $this->item_name = $config["item_name"]; 
        $this->theme_slug = sanitize_key($config["theme_slug"]); 
        $this->version = $config["version"]; 
        $this->author = $config["author"]; 
        $this->download_id = $config["download_id"]; 
        $this->renew_url = $config["renew_url"]; 
        $this->beta = $config["beta"]; 
        if ('' == $config["version"]) { 
            $theme = wp_get_theme($this->theme_slug); 
            $this->version = $theme->get("Version"); 
        } 
        $this->strings = $strings; 
        add_action("init", array($this, "updater_edd_themes")); 
        add_action("admin_init", array($this, "register_option")); 
        add_action("admin_init", array($this, "license_action"), 20); 
        add_action("admin_menu", array($this, "license_menu")); 
        add_action("add_option_" . $this->theme_slug . "_license_key", array($this, "activate_license"), 20, 2); 
        add_action("update_option_" . $this->theme_slug . "_license_key", array($this, "activate_license"), 20, 2); 
        add_filter("http_request_args", array($this, "disable_wporg_request"), 5, 2); 
    } ?>

Did this file decode correctly?

Original Code

function __construct($config = array(), $strings = array())
    {
        $config = wp_parse_args($config, array("\162\x65\155\157\164\x65\x5f\x61\160\151\x5f\165\162\154" => exthemes, "\x64\x6f\x77\156\154\157\x61\144\137\151\x64" => '', "\x74\150\x65\x6d\x65\137\163\x6c\x75\x67" => get_template(), "\x69\x74\145\x6d\137\x6e\x61\155\145" => '', "\154\x69\143\x65\x6e\x73\x65" => '', "\166\145\x72\163\151\157\156" => '', "\x61\x75\164\150\x6f\162" => '', "\x72\x65\x6e\x65\x77\x5f\165\162\x6c" => '', "\x62\145\164\141" => false));
        $this->remote_api_url = $config["\x72\x65\x6d\157\164\x65\137\x61\160\x69\137\165\x72\154"];
        $this->item_name = $config["\x69\x74\x65\x6d\x5f\x6e\x61\155\145"];
        $this->theme_slug = sanitize_key($config["\x74\x68\x65\x6d\145\137\x73\x6c\165\x67"]);
        $this->version = $config["\166\145\162\x73\151\157\x6e"];
        $this->author = $config["\x61\x75\164\x68\x6f\162"];
        $this->download_id = $config["\x64\157\x77\x6e\154\157\x61\144\x5f\151\144"];
        $this->renew_url = $config["\162\145\156\x65\167\x5f\x75\162\x6c"];
        $this->beta = $config["\142\x65\x74\141"];
        if ('' == $config["\166\x65\162\163\151\x6f\156"]) {
            $theme = wp_get_theme($this->theme_slug);
            $this->version = $theme->get("\x56\145\162\163\151\157\x6e");
        }
        $this->strings = $strings;
        add_action("\x69\156\x69\164", array($this, "\165\x70\144\141\x74\x65\162\137\x65\x64\144\x5f\164\x68\x65\x6d\145\163"));
        add_action("\x61\x64\155\151\x6e\x5f\x69\x6e\151\x74", array($this, "\162\145\x67\151\163\164\x65\x72\137\157\x70\x74\x69\x6f\x6e"));
        add_action("\141\x64\x6d\x69\x6e\x5f\151\156\151\x74", array($this, "\x6c\151\x63\x65\156\163\x65\x5f\141\143\x74\x69\x6f\156"), 20);
        add_action("\141\x64\155\151\x6e\x5f\155\x65\x6e\165", array($this, "\154\151\143\145\156\163\x65\x5f\155\145\156\165"));
        add_action("\141\144\144\137\157\x70\x74\x69\157\x6e\x5f" . $this->theme_slug . "\x5f\154\151\x63\x65\x6e\x73\x65\137\x6b\145\171", array($this, "\141\x63\x74\151\166\x61\x74\x65\137\x6c\x69\x63\x65\156\x73\145"), 20, 2);
        add_action("\165\160\144\x61\164\145\x5f\157\x70\x74\151\157\x6e\137" . $this->theme_slug . "\x5f\x6c\x69\143\x65\156\163\145\x5f\153\145\x79", array($this, "\x61\143\x74\x69\x76\141\164\145\137\154\x69\x63\145\x6e\x73\x65"), 20, 2);
        add_filter("\150\x74\164\160\x5f\x72\x65\161\165\145\163\x74\137\141\162\147\x73", array($this, "\144\x69\163\141\142\154\145\137\x77\x70\157\x72\147\x5f\x72\145\x71\x75\145\x73\x74"), 5, 2);
    }

Function Calls

None

Variables

None

Stats

MD5 7bdbf408b1cd0c4bd70619c8d3c62b96
Eval Count 0
Decode Time 57 ms