Skip to content

Instantly share code, notes, and snippets.

@jdeeburke
Last active April 23, 2018 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdeeburke/9680423d92a7b3e7a089436a6c3200a2 to your computer and use it in GitHub Desktop.
Save jdeeburke/9680423d92a7b3e7a089436a6c3200a2 to your computer and use it in GitHub Desktop.
Custom checkout add-ons positioning
<?php
add_filter( 'wc_checkout_add_ons_position', 'sv_custom_checkout_add_on_position' );
function sv_custom_checkout_add_on_position( $position ) {
return 'woocommerce_checkout_after_terms_and_conditions';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment