Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Customize whether SearchWP thinks a taxonomy is in use
add_filter( 'searchwp_is_used_taxonomy', function( $used, $taxonomy ) {
// TODO: Determine whether the taxonomy is in use.
return $used; // true/false
}, 20, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.