Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function post_type_tags_fix($request) {
- if ( isset($request['tag']) && !isset($request['post_type']) )
- $request['post_type'] = 'any';
- return $request;
- }
- add_filter('request', 'post_type_tags_fix');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement