Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Filter tba_register_post_type_args
add_filer( 'tba_register_post_type_args', 'my_tba_register_post_type_args' );
function my_tba_register_post_type_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