This Documentation is for SearchWP Version 3

Available since: 1.6


View Parameters »

Note: Use of this hook will require a manual reindex

This filter behaves exactly like searchwp_custom_fields but is applied to a single Custom Field only. It is applied for every Custom Field for every post during indexing. Using this filter is equal to using searchwp_custom_fields and checking for a specific Custom Field there.

For full documentation, see searchwp_custom_fields.


Parameter Type Description
$customFieldValue Mixed

The original Custom Field value

$post Object

The Post object being indexed