apply_filters( 'ep_pre_kill_sync_for_password_protected', $new_skip, $current_skip, $object_id ) → {null|bool}
Short-circuits the process of checking if a post should be indexed or not depending on its password.
Returning a non-null value will effectively short-circuit the function.
Parameters:
Name | Type | Description |
---|---|---|
$new_skip |
null | Whether should skip or not before checking for a password |
$current_skip |
bool | Current value |
$object_id |
int | The Post ID |
- Since:
- 4.6.0
- Source:
Returns:
New value of $skip or null
to keep default behavior.
- Type
- null | bool