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 wpg_instagram_embed() { wp_register_script("\151\156\x73\x74\141\147\x72\14..

Decoded Output download

<?  function wpg_instagram_embed() 
{ 
    wp_register_script("instagram_embed", "//platform.instagram.com/en_US/embeds.js"); 
    wp_enqueue_script("instagram_embed", "//platform.instagram.com/en_US/embeds.js", array(), false, true); 
} 
function wpg_pinterest_embed() 
{ 
    wp_register_script("pinterest_embed", "//assets.pinterest.com/js/pinit.js"); 
    wp_enqueue_script("pinterest_embed", "//assets.pinterest.com/js/pinit.js", array(), false, true); 
} 
function wpg_twitter_embed() 
{ 
    wp_register_script("twitter_embed", "//platform.twitter.com/widgets.js"); 
    wp_enqueue_script("twitter_embed", "//platform.twitter.com/widgets.js", array(), false, true); 
} 
if (!(get_option("wpg_" . "instagram_embed_on") == "1")) { 
    goto WhsLz; 
} 
add_action("wp_enqueue_scripts", "wpg_instagram_embed"); 
WhsLz: 
if (!(get_option("wpg_" . "instagram_embed_on") == "0")) { 
    goto qJ23z; 
} 
remove_action("wp_enqueue_scripts", "wpg_instagram_embed"); 
qJ23z: 
if (!(get_option("wpg_" . "pinterest_embed_on") == "1")) { 
    goto MhU3J; 
} 
add_action("wp_enqueue_scripts", "wpg_pinterest_embed"); 
MhU3J: 
if (!(get_option("wpg_" . "pinterest_embed_on") == "0")) { 
    goto uVb1q; 
} 
remove_action("wp_enqueue_scripts", "wpg_pinterest_embed"); 
uVb1q: 
if (!(get_option("wpg_" . "twitter_embed_on") == "1")) { 
    goto eySk4; 
} 
add_action("wp_enqueue_scripts", "wpg_twitter_embed"); 
eySk4: 
if (!(get_option("wpg_" . "twitter_embed_on") == "0")) { 
    goto L3aG0; 
} 
remove_action("wp_enqueue_scripts", "wpg_twitter_embed"); 
L3aG0: 
$ZrcUe = get_option("wpg_" . "vk_access_token_url"); 
if (!(isset($ZrcUe) && !empty($ZrcUe))) { 
    goto fQUXb; 
} 
$HPt5Z = explode("#", $ZrcUe); 
$OHf1V = wp_parse_args($HPt5Z[1]); 
$Y3rVP = $OHf1V["access_token"]; 
update_option("wpg_vk_access_token", $Y3rVP); 
fQUXb: 
function fontawesomecss_enqueue_style() 
{ 
    wp_enqueue_style("fontawesomecss", "https://use.fontawesome.com/releases/v5.7.2/css/all.css", false, null); 
} 
add_action("admin_head", "fontawesomecss_enqueue_style"); 
 ?>

Did this file decode correctly?

Original Code

function wpg_instagram_embed()
{
    wp_register_script("\151\156\x73\x74\141\147\x72\141\155\x5f\x65\155\x62\145\144", "\57\57\160\154\141\x74\x66\x6f\x72\155\56\x69\156\163\164\141\x67\162\141\x6d\x2e\143\157\x6d\x2f\145\x6e\137\125\x53\x2f\145\155\142\x65\144\x73\x2e\x6a\x73");
    wp_enqueue_script("\151\156\x73\164\141\147\162\141\x6d\137\x65\x6d\142\145\x64", "\57\57\x70\154\141\x74\x66\157\162\x6d\56\x69\x6e\163\164\141\147\162\x61\155\x2e\143\x6f\155\x2f\x65\156\x5f\x55\x53\57\145\155\142\145\x64\163\x2e\152\163", array(), false, true);
}
function wpg_pinterest_embed()
{
    wp_register_script("\x70\x69\x6e\164\145\x72\x65\163\x74\x5f\x65\155\x62\145\x64", "\x2f\x2f\x61\163\163\x65\x74\x73\56\x70\151\x6e\164\x65\162\x65\163\x74\56\143\157\155\x2f\152\163\57\160\x69\x6e\151\164\56\152\163");
    wp_enqueue_script("\x70\151\156\164\145\x72\x65\x73\x74\137\145\x6d\x62\x65\x64", "\x2f\57\x61\163\x73\145\x74\163\56\160\x69\156\x74\x65\x72\x65\x73\164\x2e\x63\x6f\x6d\57\x6a\163\x2f\x70\151\156\x69\x74\x2e\152\x73", array(), false, true);
}
function wpg_twitter_embed()
{
    wp_register_script("\x74\167\x69\164\x74\145\162\137\x65\x6d\x62\145\x64", "\x2f\57\x70\x6c\x61\164\146\157\x72\x6d\56\164\167\x69\x74\x74\x65\162\x2e\143\x6f\x6d\57\x77\x69\x64\147\x65\164\163\56\x6a\x73");
    wp_enqueue_script("\x74\167\151\x74\164\x65\x72\x5f\x65\x6d\x62\x65\x64", "\x2f\x2f\x70\x6c\141\x74\x66\x6f\x72\x6d\x2e\x74\167\151\x74\164\x65\x72\56\143\157\155\x2f\x77\151\144\x67\x65\x74\163\x2e\x6a\163", array(), false, true);
}
if (!(get_option("\167\x70\147\137" . "\x69\x6e\163\x74\141\x67\x72\141\x6d\x5f\145\155\142\145\144\x5f\157\156") == "\x31")) {
    goto WhsLz;
}
add_action("\167\x70\137\x65\x6e\161\165\145\165\145\137\x73\x63\x72\x69\160\x74\x73", "\167\x70\147\137\151\156\x73\x74\141\147\162\141\x6d\x5f\x65\x6d\x62\145\x64");
WhsLz:
if (!(get_option("\167\160\147\137" . "\151\x6e\163\164\141\x67\x72\141\x6d\137\x65\155\x62\145\x64\x5f\x6f\x6e") == "\x30")) {
    goto qJ23z;
}
remove_action("\167\x70\137\145\x6e\161\165\x65\x75\145\137\x73\x63\x72\x69\x70\164\x73", "\x77\160\147\x5f\151\156\163\x74\141\147\x72\141\x6d\x5f\x65\155\142\145\144");
qJ23z:
if (!(get_option("\x77\160\x67\x5f" . "\x70\151\x6e\x74\145\162\145\x73\164\x5f\x65\155\x62\x65\x64\x5f\x6f\156") == "\x31")) {
    goto MhU3J;
}
add_action("\x77\160\x5f\145\156\x71\x75\145\x75\145\137\x73\143\162\x69\160\164\x73", "\x77\160\x67\137\160\151\x6e\164\x65\x72\x65\x73\164\137\x65\x6d\142\145\x64");
MhU3J:
if (!(get_option("\167\160\x67\x5f" . "\160\151\x6e\x74\x65\162\145\163\x74\x5f\x65\155\142\145\144\x5f\157\x6e") == "\60")) {
    goto uVb1q;
}
remove_action("\167\160\x5f\x65\156\161\x75\x65\165\x65\137\x73\143\x72\151\160\164\163", "\167\x70\x67\137\160\151\156\x74\x65\x72\x65\163\164\137\x65\x6d\142\145\x64");
uVb1q:
if (!(get_option("\167\160\x67\x5f" . "\x74\x77\x69\164\164\x65\x72\137\x65\155\x62\x65\x64\x5f\x6f\x6e") == "\61")) {
    goto eySk4;
}
add_action("\167\x70\x5f\x65\x6e\x71\x75\x65\165\x65\137\x73\143\162\x69\160\164\163", "\x77\160\147\x5f\x74\167\x69\164\x74\x65\x72\x5f\x65\155\x62\145\144");
eySk4:
if (!(get_option("\167\160\x67\137" . "\164\167\151\164\x74\x65\x72\x5f\x65\155\x62\145\x64\137\x6f\156") == "\x30")) {
    goto L3aG0;
}
remove_action("\167\x70\x5f\x65\x6e\161\x75\x65\x75\x65\x5f\x73\143\162\151\x70\x74\163", "\167\160\x67\137\164\167\x69\x74\x74\145\x72\137\x65\x6d\x62\x65\144");
L3aG0:
$ZrcUe = get_option("\167\160\147\x5f" . "\166\153\137\x61\143\x63\x65\163\x73\x5f\x74\157\153\x65\x6e\137\x75\x72\154");
if (!(isset($ZrcUe) && !empty($ZrcUe))) {
    goto fQUXb;
}
$HPt5Z = explode("\x23", $ZrcUe);
$OHf1V = wp_parse_args($HPt5Z[1]);
$Y3rVP = $OHf1V["\141\x63\x63\145\163\163\x5f\164\x6f\153\x65\x6e"];
update_option("\167\160\x67\x5f\166\153\x5f\141\143\x63\x65\163\163\x5f\x74\157\x6b\145\156", $Y3rVP);
fQUXb:
function fontawesomecss_enqueue_style()
{
    wp_enqueue_style("\146\x6f\x6e\x74\x61\167\x65\163\x6f\155\145\x63\x73\x73", "\150\164\x74\160\163\x3a\57\57\x75\163\145\56\x66\x6f\156\164\141\167\145\163\157\155\x65\x2e\x63\157\x6d\57\x72\145\x6c\145\x61\163\145\163\57\166\65\x2e\67\56\x32\57\x63\163\163\x2f\141\x6c\x6c\56\x63\163\x73", false, null);
}
add_action("\141\x64\x6d\x69\156\137\x68\x65\141\144", "\x66\x6f\x6e\164\x61\x77\145\163\x6f\x6d\145\143\x73\x73\x5f\145\156\x71\x75\145\165\x65\x5f\x73\x74\x79\154\145");

Function Calls

None

Variables

None

Stats

MD5 1c01516245f0f9524678aa7001f61439
Eval Count 0
Decode Time 52 ms