Skip to content

Instantly share code, notes, and snippets.

@michael-cannon
Created June 26, 2014 01:52
Show Gist options
  • Save michael-cannon/8fc217199ae1e8d5eecb to your computer and use it in GitHub Desktop.
Save michael-cannon/8fc217199ae1e8d5eecb to your computer and use it in GitHub Desktop.
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