autoship_product_schedule_options_variable_select_skin
This filter allows you to add additional classes to the various html entities ( i.e. form labels, container, select drop down, etc.). It takes 3 parameters:
- 'yes' or 'no' string for Autoship product
- WooCommerce product number
- A boolean weather product has discount
Example
// add dashed border and change the dropdown to black & white using CSS classes function new_skin($select_skin_arr){ $select_skin_arr['container'] .= ' transparant_container'; $select_skin_arr['select'] .= ' negative'; return $select_skin_arr; } add_filter('autoship_product_schedule_options_select_skin', 'new_skin', 10, 1);