autoship_before_schedule_options (action)

( templates/product/schedule-options.php) The hook allows developers to insert additional radio options before 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_before_schedule_options', $product, $prices, $skin, $default_check ); ?>

Example

function insert_before_radio() {
    echo '<input type="radio" name="before"> Before Example<br>';
};
add_action('autoship_before_schedule_options', 'insert_before_radio', 10);