SearchWP

This Documentation is for SearchWP Version 3

Available since: 1.6

searchwp_custom_field_{name}

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.

Parameters

Parameter Type Description
$customFieldValue Mixed

The original Custom Field value

$post Object

The Post object being indexed

[wpforms id="3080"]