Method | Description | |
---|---|---|
__construct ( Mlp_Redirect_Response_Interface $response, string $option_name ) | Constructor. | |
add_noredirect_parameter ( string $url, integer $site_id ) : string | Adds the noredirect query var to the given URL. | |
is_redirectable ( ) : boolean | Checks if the current request should be redirected. | |
setup ( ) : void | Initializes the redirect data and response classes. |
public __construct ( Mlp_Redirect_Response_Interface $response, string $option_name ) | ||
$response | Mlp_Redirect_Response_Interface | Redirect response object. |
$option_name | string | Option name. |
public is_redirectable ( ) : boolean | ||
return | boolean |