Customize whether SearchWP thinks a meta key is in use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
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