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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Tell SearchWP to NOT exclude additional postmeta. | |
add_filter( 'searchwp_indexer_additional_meta_exclusions', '__return_false' ); |
Parameters
Parameter | Type | Description |
---|---|---|
$additional_exclusions |
Boolean |
Whether to exclude additional meta |