Filter: ep_{indexable_slug}_index_kill

apply_filters( 'ep_{indexable_slug}_index_kill', $status, $feature ) → {FeatureRequirementStatus}

Filter feature requirement status

Parameters:
Name Type Description
$status FeatureRequirementStatus

Current feature requirement status

$feature Feature

Current feature

Since:
  • 2.2
Source:
Returns:

New status

Type
FeatureRequirementStatus

apply_filters( 'ep_{indexable_slug}_index_kill', $index, $object_id ) → {bool}

Conditionally kill indexing for a post

Parameters:
Name Type Description
$index bool

True means dont index

$object_id int

Object ID

Source:
Returns:

New value

Type
bool

apply_filters( 'ep_{indexable_slug}_index_kill', $kill, $object_id ) → {bool}

Conditionally kill indexing on a specific object

Parameters:
Name Type Description
$kill bool

True to not index

$object_id int

Id of object to index

Since:
  • 3.0
Source:
Returns:

New kill value

Type
bool