Created
June 6, 2020 03:59
-
-
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/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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