Home
About me
Forex Brokers
Reviews
Shop
Contact
Login
Select Page
Cart
Your basket is currently empty.
Return to shop
English
▼
X
Arabic
Chinese (Simplified)
Dutch
English
French
German
Italian
Portuguese
Russian
Spanish
error:
Content is protected !!
CLOSE
//Remove a post type from searches add_action( 'register_post_type_args', 'mws_remove_courses_from_search', 1, 2); function mws_remove_courses_from_search( $args, $post_type ) { if ( 'sfwd-courses' == $post_type ){ $args['exclude_from_search'] = true ; } if ( 'sfwd-lessons' == $post_type ){ $args['exclude_from_search'] = true ; } if ( 'sfwd-topic' == $post_type ){ $args['exclude_from_search'] = true ; } return $args; }