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: 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

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