autoship_all_prices_array (filter)

(src/products.php). It takes $prices (array), the (WooCommerce) $product_id, & the $product object as its parameters, and can be used to adjust the prices / discounts displayed to customers on your product pages. 

Code

return apply_filters('autoship_all_prices_array', $prices, $product_id, $product );

Found in the Functions

Code Example


Still need help? Contact Us Contact Us