[wp-hackers] Check for wp_footer

Dion Hulse (dd32) wordpress at dd32.id.au
Sun Apr 25 03:28:55 UTC 2010


You cant test for it reliably.

You can attach to the shutdown hook, and check if  
did_action('wp_footer').. thats the only real way other than reading the  
footer template into memory and doing a string comparison.

Better yet, just tell anyone who runs into a bug caused by it, to fix  
their theme..

-- 
Dion Hulse / dd32
Contact:
  e: contact at dd32.id.au
  Web: http://dd32.id.au/

On Sun, 25 Apr 2010 12:37:11 +1000, Vinicius Massuchetto  
<viniciusandre at gmail.com> wrote:

> Couldn't find this on forums or anywhere else.
> What can I test to check if wp_footer was placed on the theme?


More information about the wp-hackers mailing list