SearchWP

Available since: 2.0

searchwp_omit_meta_key_{$custom_field_key}

View Parameters »

Note: Use of this hook will require a manual reindex

This hook is a more specified version of searchwp_omit_meta_key that applies only to the provided meta_key.

Parameters

Parameter Type Description
$omit Boolean

Whether to omit this Custom Field

$the_post Object

The post being indexed