Skip to content

Instantly share code, notes, and snippets.

@webaware
Created June 6, 2020 03:59
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 webaware/6691efdc84e861c83b8be1eb1fd0a50a to your computer and use it in GitHub Desktop.
Save webaware/6691efdc84e861c83b8be1eb1fd0a50a to your computer and use it in GitHub Desktop.
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