rest_authorization_required_code


rest_authorization_required_code ( No parameters )

Returns:
  • (int) 401 if the user is not logged in, 403 if the user is logged in.
Defined at:

Description

Returns a contextual HTTP error code for authorization failure.

Related Functions

wp_is_authorize_application_redirect_url_valid, rest_handle_options_request, wp_update_https_migration_required, post_password_required, rest_sanitize_request_arg

Top Google Results

User discussions

wpseek mobile