wordpress/wp-content/themes/basic/themify/themify-wp-filters.php
/**
 * Exclude post types from search results, per user settings
 *
 * @since 4.6.8
 */
Exclude post types from search results, per user settings
@since 4.6.8
Exclude post types from search results per user settings @since 4 . 6 . 8
function themify_register_post_type_args( $args, $post_type ) {
	if ( ! isset( $_GET['s'] ) )
		return $args;
	$key = $post_type === 'page' ? 'setting-search_settings_exclude' : 'setting-search_exclude_' . $post_type;
	if ( themify_get( $key,false,true ) ) {
		$args['exclude_from_search'] = true;
	}
	return $args;
}
function themify_register_post_type_args ( $ args , $ post_type ) { if ( ! isset ( $ _GET [ 's' ] ) ) return $ args ; $ key = $ post_type === 'page' ? 'setting-search_settings_exclude' : 'setting-search_exclude_' . $ post_type ; if ( themify_get ( $ key , false , true ) ) { $ args [ 'exclude_from_search' ] = true ; } return $ args ; }
Exclude post types from search results, per user settings
 @since 4.6.8
Exclude post types from search results per user settings @since 4 . 6 . 8
/**
		 * @note Side effect: removes the post type from WP_Query query when 'post_type' => 'any'
		 * @link https://developer.wordpress.org/reference/classes/wp_query/#post-type-parameters
		 */