Discussion:
first available hook which knows about is_archive response?
Haluk Karamete
2014-01-22 13:18:43 UTC
Permalink
When does WP know all about the queried_object? What's earliest hook that
would work with it?
John Blackbourn
2014-01-22 13:51:56 UTC
Permalink
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.
Post by Haluk Karamete
When does WP know all about the queried_object? What's earliest hook that
would work with it?
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Continue reading on narkive:
Loading...