woocommerce_remote_logger_request_uri_whitelist

woocommerce_remote_logger_request_uri_whitelist

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.1

apply_filters('woocommerce_remote_logger_request_uri_whitelist') is found 1 times:

  • /src/Internal/Logging/RemoteLogger.php line 465
    		 * @since 9.4.0
    		 *
    		 * @param string   $default_whitelist The default whitelist of query parameters.
    		 */
    		$whitelist = apply_filters( 'woocommerce_remote_logger_request_uri_whitelist', $default_whitelist );
    
    		$parsed_url = wp_parse_url( $request_uri );
    		if ( ! isset( $parsed_url['query'] ) ) {
    			return $request_uri;
    		}