wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_authorize_application_redirect_url_invalid_protocols › WordPress Filter Hooks

Since6.3.2
Deprecatedn/a
apply_filters( 'wp_authorize_application_redirect_url_invalid_protocols', $bad_protocols, $url )
Parameters: (2)
  • (string[]) $bad_protocols Array of invalid protocols.
    Required: Yes
  • (string) $url The redirect URL to be validated.
    Required: Yes
Defined at:
Codex:

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





Source

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