autoship_after_cart_schedule_radio_options (action)

(templates/cart/schedule-options.php) Allows developers to add additional radio options after the default options on the cart page. Takes $product, $frequency_type, $frequency, $next_occurrence, $cart_item, & $autoship_selected as its parameters.

Code

  <?php do_action('autoship_after_cart_schedule_radio_options', $product, $frequency_type, $frequency, $next_occurrence, $cart_item, $autoship_selected ); ?>
Example
function insert_after_radio() {
    echo '<input type="radio" name="after"> After Example<br>';
}
add_action('autoship_after_cart_schedule_radio_options', 'insert_after_radio', 10);

Still need help? Contact Us Contact Us