Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_filter( 'cbqe_get_post_types_args', array( $this, 'get_post_types_args' ) );
public function get_post_types_args( $args ) {
$args[ 'exclude_from_search' ] = true;
return $args;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment