Note: You are viewing the documentation for Version 3View Version 4 Docs

Documentation

View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

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

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