redirection_request_referrer

redirection_request_referrer

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.5.1

apply_filters('redirection_request_referrer') is found 1 times:

  • /models/request.php line 163
    		if ( isset( $_SERVER['HTTP_REFERER'] ) && is_string( $_SERVER['HTTP_REFERER'] ) ) {
    			$referrer = self::sanitize_url( $_SERVER['HTTP_REFERER'] );
    		}
    
    		return apply_filters( 'redirection_request_referrer', $referrer );
    	}
    
    	/**
    	 * Get standard IP header names
    	 *
    	 * @return string[]