This Documentation is for SearchWP Version 3

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