Timeline for Modify WP_Query using pre_get_posts but only for frontend query?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 9, 2018 at 15:10 | comment | added | swissspidy |
It's for the front end as it checks the $wp_the_query global which I don't think is ever defined in the admin :-)
|
|
Feb 9, 2018 at 14:27 | comment | added | Paul Canning |
Is is_main_query() for the frontend or backend?
|
|
Feb 9, 2018 at 14:26 | history | answered | swissspidy | CC BY-SA 3.0 |