item_response

item_response

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.3.4

apply_filters('item_response') is found 1 times:

  • /src/RestApi/Routes/V4/AbstractController.php line 167
    		 * @param mixed           $item    WordPress representation of the item.
    		 * @param WP_REST_Request  $request  Request object.
    		 * @since 10.2.0
    		 */
    		return rest_ensure_response( apply_filters( $this->get_hook_prefix() . 'item_response', $response, $item, $request ) );
    	}
    
    	/**
    	 * Get the hook prefix for actions and filters.
    	 *
    	 * Example: woocommerce_rest_api_v4_orders_