[wp-hackers] adding action to get_footer, get_header etc.
Peter Westwood
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
--
Peter Westwood
http://peter.westwood.name
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:
>
>> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list