autoship_after_schedule_radio_options (action)

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

Code

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

Example

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

Still need help? Contact Us Contact Us