wpsc_parse_partial_url()
Parse a partial URL (only the path and query components).
No Hooks.
Return
null
. Nothing (null).
Usage
wpsc_parse_partial_url( $partial_uri );
- $partial_uri(string) (required)
- - The path and query component of a URI to parse.
wpsc_parse_partial_url() wpsc parse partial url code WPSCache 1.12.4
function wpsc_parse_partial_url( $partial_uri ) { global $WPSC_HTTP_HOST; $scheme = wpsc_is_https() ? 'https://' : 'http://'; return parse_url( $scheme . $WPSC_HTTP_HOST . $partial_uri ); }