do_action( 'ep_delete_{indexable_slug}', $object_id, $indexable_slug )
Fires before object deletion
Parameters:
Name | Type | Description |
---|---|---|
$object_id |
int | ID of object being deleted |
$indexable_slug |
string | The slug of the indexable type that is being deleted |
- Source: