woocommerce_api_dispatch_args

woocommerce_api_dispatch_args

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_dispatch_args') is found 3 times:

  • /includes/legacy/api/v1/class-wc-api-server.php line 361
    				$args['_path']    = $this->path;
    				$args['_headers'] = $this->headers;
    				$args['_files']   = $this->files;
    
    				$args = apply_filters( 'woocommerce_api_dispatch_args', $args, $callback );
    
    				// Allow plugins to halt the request via this filter
    				if ( is_wp_error( $args ) ) {
    					return $args;
    				}
    
    
  • /includes/legacy/api/v2/class-wc-api-server.php line 359
    				$args['_path']    = $this->path;
    				$args['_headers'] = $this->headers;
    				$args['_files']   = $this->files;
    
    				$args = apply_filters( 'woocommerce_api_dispatch_args', $args, $callback );
    
    				// Allow plugins to halt the request via this filter
    				if ( is_wp_error( $args ) ) {
    					return $args;
    				}
    
    
  • /includes/legacy/api/v3/class-wc-api-server.php line 359
    				$args['_path']    = $this->path;
    				$args['_headers'] = $this->headers;
    				$args['_files']   = $this->files;
    
    				$args = apply_filters( 'woocommerce_api_dispatch_args', $args, $callback );
    
    				// Allow plugins to halt the request via this filter
    				if ( is_wp_error( $args ) ) {
    					return $args;
    				}