rest_authentication_errors

rest_authentication_errors

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('rest_authentication_errors') is found 1 times:

  • /wp-includes/rest-api/class-wp-rest-server.php line 189
    		 *
    		 * @param WP_Error|null|true $errors WP_Error if authentication error, null if authentication
    		 *                                   method wasn't used, true if authentication succeeded.
    		 */
    		return apply_filters( 'rest_authentication_errors', null );
    	}
    
    	/**
    	 * Converts an error to a response object.
    	 *
    	 * This iterates over all error codes and messages to change it into a flat
    

See this hook used in plugins: