Filter: ep_sync_delete_permissions_bypass

apply_filters( 'ep_sync_delete_permissions_bypass', $bypass, $post_id ) → {boolean}

Filter whether to skip the permissions check on deleting a post

Parameters:
Name Type Description
$bypass bool

True to bypass

$post_id int

ID of post

Source:
Returns:

New value

Type
boolean