[wp-hackers] adding action to get_footer, get_header etc.
peter.westwood at ftwr.co.uk
Wed Jun 3 15:43:32 GMT 2009
I think what he wants is the name for the sidebar passed to the filter.
I'll look in to this soon
On 3 Jun 2009, at 11:25, scribu <scribu at gmail.com> wrote:
> 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:
>> 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)?
>> aaron.jorbin at gmail.com
>> Twitter: @aaronjorbin
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers