redirection_request_cookie

redirection_request_cookie

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

See hook in core

Displaying hooks found in version: redirection.5.4.2

apply_filters('redirection_request_cookie') is found 1 times:

  • /models/request.php line 219
    	 * @return string|false
    	 */
    	public static function get_cookie( $cookie ) {
    		if ( isset( $_COOKIE[ $cookie ] ) && is_string( $_COOKIE[ $cookie ] ) ) {
    			return apply_filters( 'redirection_request_cookie', sanitize_text_field( $_COOKIE[ $cookie ] ), $cookie );
    		}
    
    		return false;
    	}
    
    	/**