get_queried_object() returns NULL during pre_get_posts
-
Is get_queried_object() / get_queried_object_id() supposed to return NULL during ‘pre_get_posts’?
Once I updated to WordPress 3.8, some parts of a theme I’m developing stopped working, as those depend on get_queried_object() / get_queried_object_id().
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘get_queried_object() returns NULL during pre_get_posts’ is closed to new replies.