autoship_filter_schedulable_products_display_labels (filter)

( templates/scheduled-orders/order-items-form.php) used to filter the available products in the Add Product Dropdown menu displayed in My Account > Scheduled Orders on the Edit Scheduled Order screen. It takes $products, the $autoship_order (Scheduled Order), and the $customer_id as its parameters and returns an array of the labels for schedulable products to the dropdown. 

Code

$available_products = apply_filters( 'autoship_filter_schedulable_products_display_labels', array(), $products, $autoship_order, $customer_id );

Still need help? Contact Us Contact Us