Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('posts_where_paged', 'posts_where_paged_custom', 10, 2);
- function posts_where_paged_custom($where, $query) {
- return 'AND (1=1 ' . $where . ')';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement