Filter `cbqe_post_types_ignore` Customize the ignored post_types array.
<?php | |
add_filter( 'cbqe_post_types_ignore', 'bhc_cbqe_post_types_ignore' ); | |
function bhc_cbqe_post_types_ignore( $post_types ) { | |
foreach ( $post_types as $key => $value ) { | |
if ( 'page' == $value ) | |
unset( $post_types[ $key ] ); | |
} | |
return $post_types; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment