apply_filters( ‘wp_authorize_application_redirect_url_invalid_protocols’, string[] $bad_protocols, string $url )

In this article

Filters the list of invalid protocols used in applications redirect URLs.

Parameters

$bad_protocolsstring[]
Array of invalid protocols.
$urlstring
The redirect URL to be validated.

Source

$invalid_protocols = array_map( 'strtolower', apply_filters( 'wp_authorize_application_redirect_url_invalid_protocols', $bad_protocols, $url ) );

Changelog

VersionDescription
6.3.2Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.