Skip to content

Instantly share code, notes, and snippets.

Jarah inquota

Block or report user

Report or block inquota

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f255fcdd4f8ed2637c3546f8f03ff716
/**
* Strip referer param from URL.
*
* @param string $request_uri
*
* @return string
*/
public function get_url_without_referer( $request_uri ) {
$path = parse_url( $request_uri, PHP_URL_PATH );
You can’t perform that action at this time.