set_url_scheme

set_url_scheme

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('set_url_scheme') is found 1 times:

  • /wp-includes/link-template.php line 3957
    	 * @param string      $scheme      Scheme applied to the URL. One of 'http', 'https', or 'relative'.
    	 * @param string|null $orig_scheme Scheme requested for the URL. One of 'http', 'https', 'login',
    	 *                                 'login_post', 'admin', 'relative', 'rest', 'rpc', or null.
    	 */
    	return apply_filters( 'set_url_scheme', $url, $scheme, $orig_scheme );
    }
    
    /**
     * Retrieves the URL to the user's dashboard.
     *
     * If a user does not belong to any site, the global user dashboard is used. If the user
    

See this hook used in plugins: