SearchWP

Available since: 2.9

searchwp_indexer_additional_meta_exclusions

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:

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

Parameters

Parameter Type Description
$additional_exclusions Boolean

Whether to exclude additional meta