Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
change position of the Minimim Age question on WooCommerce checkout, for the plugin Minimum Age for WooCommerce https://wordpress.org/plugins/minimum-age-woocommerce/
/**
* change position of Minimim Age question on WooCommerce checkout
* @param string $hook_name
* @return string
*/
add_filter('mininum_age_woo_checkout_hook', function($hook_name) {
return 'woocommerce_checkout_order_review';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment