Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'load-edit.php', function () {
- global $typenow;
- if( 'post' !== $typenow ) {
- return;
- }
- add_action( 'pre_get_posts', function ($query) {
- $query->set('post_type', 'any');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement