woocommerce_api_serve_request

woocommerce_api_serve_request

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_serve_request') is found 3 times:

  • /includes/legacy/api/v1/class-wc-api-server.php line 239
    		}
    
    		// This is a filter rather than an action, since this is designed to be
    		// re-entrant if needed
    		$served = apply_filters( 'woocommerce_api_serve_request', false, $result, $this );
    
    		if ( ! $served ) {
    
    			if ( 'HEAD' === $this->method ) {
    				return;
    			}
    
  • /includes/legacy/api/v2/class-wc-api-server.php line 237
    		}
    
    		// This is a filter rather than an action, since this is designed to be
    		// re-entrant if needed
    		$served = apply_filters( 'woocommerce_api_serve_request', false, $result, $this );
    
    		if ( ! $served ) {
    
    			if ( 'HEAD' === $this->method ) {
    				return;
    			}
    
  • /includes/legacy/api/v3/class-wc-api-server.php line 237
    		}
    
    		// This is a filter rather than an action, since this is designed to be
    		// re-entrant if needed
    		$served = apply_filters( 'woocommerce_api_serve_request', false, $result, $this );
    
    		if ( ! $served ) {
    
    			if ( 'HEAD' === $this->method ) {
    				return;
    			}