Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created April 22, 2019 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/ee82267997a2eda52f4bb1971103f5f3 to your computer and use it in GitHub Desktop.
Save jchristopher/ee82267997a2eda52f4bb1971103f5f3 to your computer and use it in GitHub Desktop.
Tell SearchWP to NOT exclude additional postmeta
<?php
// Tell SearchWP to NOT exclude additional postmeta.
add_filter( 'searchwp_indexer_additional_meta_exclusions', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment