Skip to content

Instantly share code, notes, and snippets.

Created April 24, 2019 17:44
What would you like to do?
Customize whether SearchWP thinks a meta key is in use
add_filter( 'searchwp_is_used_meta_key', function( $used, $meta_key ) {
// TODO: Determine whether the meta key 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