This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 ); |