Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created April 24, 2019 17:44
Embed
What would you like to do?
Customize whether SearchWP thinks a meta key is in use
<?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