wpseo_myyoast_redirect_uris, [ $canonical ]
wpseo_myyoast_redirect_uris, [ $canonical ]
Appears in: wordpress-seo.28.2
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.2apply_filters('wpseo_myyoast_redirect_uris, [ $canonical ]') is found 1 times:
- /src/myyoast-client/infrastructure/wordpress/redirect-uri-provider.php line 40
* canonical admin callback URL is passed as the default and may be removed or replaced. * * @param string[] $redirect_uris The redirect URIs to register. Defaults to the canonical admin callback URL. */ $filtered = \apply_filters( 'wpseo_myyoast_redirect_uris', [ $canonical ] ); $redirect_uris = $this->unique( $this->only_valid_uris( $filtered ) ); // At least one redirect URI is required to register; fall back to the canonical URL when the filter empties the set. if ( $redirect_uris === [] ) { return [ $canonical ];