Home User profile
LZ
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
LZ
tagDiv Member

Thank you for your response.

We would not require the modification to be supported on a support level by yourselves but would appreciate your input, from a technical standpoint, in achieving this within the ad box.

In a similar way to enabling php in the standard wordpress text widget:

add_filter(‘widget_text’,’execute_php’,100);
function execute_php($html){
if(strpos($html,”<“.”?php”)!==false){
ob_start();
eval(“?”.”>”.$html);
$html=ob_get_contents();
ob_end_clean();
}
return $html;
}

Thank you in advance.

Viewing 1 post (of 1 total)