redirection_request_agent

redirection_request_agent

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

See hook in core

Displaying hooks found in version: redirection.5.5.0

apply_filters('redirection_request_agent') is found 1 times:

  • /models/request.php line 148
    		if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && is_string( $_SERVER['HTTP_USER_AGENT'] ) ) {
    			$agent = sanitize_text_field( $_SERVER['HTTP_USER_AGENT'] );
    		}
    
    		return apply_filters( 'redirection_request_agent', $agent );
    	}
    
    	/**
    	 * Get referrer
    	 *
    	 * @return string