Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 2.9


View Parameters »

SearchWP aims to keep its index as small as possible. As part of that process SearchWP will ignore certain post metadata (Custom Fields) when indexing that do not carry value (e.g. OEMBED references).

You can use this hook to modify that behavior:

// Tell SearchWP to NOT exclude additional postmeta.
add_filter( 'searchwp_indexer_additional_meta_exclusions', '__return_false' );
view raw functions.php hosted with ❤ by GitHub


Parameter Type Description
$additional_exclusions Boolean

Whether to exclude additional meta

Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP