autoship_after_schedule_radio_options_variable (action)

(templates/product/schedule-options-variable) The hook allows developers to insert additional radio options after the default options for Variable Products on the product page. Takes $product, $skin, & Autoship option default choice ($default_check) as its parameters.

Code

    <?php do_action('autoship_after_schedule_options_variable', $product, $skin, $default_check ); ?>

Example

function insert_after_radio() {
    echo '<input type="radio" name="after"> After Example<br>';
};
add_action('autoship_after_schedule_radio_options_variable', 'insert_after_radio', 10);

Still need help? Contact Us Contact Us