wordpress/wp-content/plugins/cms-tree-page-view/functions.php
/**
 * Check if a post type is ignored
 */
Check if a post type is ignored
Check if a post type is ignored
function cms_tpv_post_type_is_ignored($post_type) {
	$ignored_post_types = cms_tpv_get_ignored_post_types();
	return in_array($post_type, $ignored_post_types);
}
function cms_tpv_post_type_is_ignored ( $ post_type ) { $ ignored_post_types = cms_tpv_get_ignored_post_types ( ) ; return in_array ( $ post_type , $ ignored_post_types ) ; }
Check if a post type is ignored
Check if a post type is ignored