Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Customize AND fields per post type in SearchWP
add_filter( 'searchwp_and_fields_post', function( $and_fields, $engine ) {
// TODO: Customize $and_fields to match what you want for Posts (and not other post types).
// @link
return $and_fields;
}, 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.