first available hook which knows about is_archive response?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

first available hook which knows about is_archive response?

Haluk Karamete
When does WP know all about the queried_object? What's earliest hook that
would work with it?
_______________________________________________
wp-hackers mailing list
[hidden email]
http://lists.automattic.com/mailman/listinfo/wp-hackers
Reply | Threaded
Open this post in threaded view
|

Re: first available hook which knows about is_archive response?

John Blackbourn
The "wp" hook is the one you're after. It's the first hook fired after the
main query and therefore the first place you can use the queried object and
the is_*() conditionals.


On 22 January 2014 13:18, Haluk Karamete <[hidden email]> wrote:

> When does WP know all about the queried_object? What's earliest hook that
> would work with it?
> _______________________________________________
> wp-hackers mailing list
> [hidden email]
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
_______________________________________________
wp-hackers mailing list
[hidden email]
http://lists.automattic.com/mailman/listinfo/wp-hackers