jetpack_has_login_ability

jetpack_has_login_ability

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.13.8.1

apply_filters('jetpack_has_login_ability') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/modules/class-protect.php line 77
    		 * @package sync
    		 *
    		 * @return bool True if the user should be allowed to attempt logging in, false otherwise.
    		 */
    		$has_login_ability = apply_filters( 'jetpack_has_login_ability', $this->has_login_ability_fallback() );
    
    		if ( $has_login_ability && ! Jetpack_Constants::is_true( 'XMLRPC_REQUEST' ) ) {
    			do_action( 'jetpack_valid_failed_login_attempt', $failed_attempt );
    		}
    	}
    }
    

See this hook used in plugins: