[wp-hackers] adding action to get_footer, get_header etc.

scribu scribu at gmail.com
Wed Jun 3 10:25:11 GMT 2009


I don't understand what this name variable is supposed to be.

Maybe you need to use current_filter() which tells you what hook is
currently fired. Or maybe has_filter().

On Wed, Jun 3, 2009 at 1:15 AM, Aaron Jorbin <aaron.jorbin at gmail.com> wrote:

> Hi,
> I was wondering if anyone new of a way to either use the $name
> variable or similarly find it out when adding an action to one of the
> get template tags (get_header, get_footer, get_sidebar)?
> Thanks,
> Aaron
>
>
> aaron.jorbin at gmail.com
> http://aaron.jorb.in
> Twitter: @aaronjorbin
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
http://scribu.net


More information about the wp-hackers mailing list