[wp-hackers] Re: substitutes for hook wp_footer ?

Pixline supporto at pixline.net
Fri Jan 25 13:10:26 GMT 2008


>> How could you even do that?
>
> $source = file_get_contents(THEMEPATH . '/footer.php');
> if( strpos($source, 'wp_footer') === false ) {
> //No footer action in theme
> }

podpress does it, as far as I can remember. it checks for wp_head and  
wp_footer, but I can't find where in its code, at least after a quick  
read..

Paolo



More information about the wp-hackers mailing list