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: - Introduced in WordPress: 6.3.2
- Deprecated in WordPress: —
Description
Validates the redirect URL protocol scheme. The protocol can be anything except `http` and `javascript`.