jetpack_account_protection_user_requires_protection
jetpack_account_protection_user_requires_protection
Hook Type: filter
Displaying hooks found in version: jetpack.15.0apply_filters('jetpack_account_protection_user_requires_protection') is found 1 times:
- /jetpack_vendor/automattic/jetpack-account-protection/src/class-password-detection.php line 404
* @param bool $requires_protection Whether or not password detection should be applied. * @param \WP_User $user The user object to apply the filter against. */ $user_requires_protection = apply_filters( 'jetpack_account_protection_user_requires_protection', true, $user ); if ( ! $user_requires_protection ) { return false; } return wp_check_password( $password, $user->user_pass, $user->ID );