rest_authorization_required_code


rest_authorization_required_code ( No parameters )

Returns:
  • (integer) 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

rest_handle_options_request, rest_sanitize_request_arg, rest_validate_request_arg, post_password_required, get_author_user_ids

Top Google Results

User discussions

wpseek mobile