wp_is_authorize_application_redirect_url_valid


wp_is_authorize_application_redirect_url_valid ( $url )

Parameters:
  • (string) url The redirect URL to be validated.
Returns:
  • (true|WP_Error) True if the redirect URL is valid, a WP_Error object otherwise.
Defined at:

Description

Validates the redirect URL protocol scheme. The protocol can be anything except `http` and `javascript`.

Related Functions

wp_is_authorize_application_password_request_valid, wp_authenticate_application_password, wp_is_application_passwords_available, rest_authorization_required_code, wp_sanitize_redirect

Top Google Results

User discussions

wpseek mobile