woocommerce_shipping_chosen_method hook
This commit is contained in:
parent
1ee9e2388d
commit
5c4799e64b
|
@ -120,7 +120,7 @@ class WC_Shipping {
|
|||
// If not set, set a default
|
||||
if ( empty( $chosen_method ) || ! isset( $_available_methods[$chosen_method] ) ) {
|
||||
|
||||
$chosen_method = get_option('woocommerce_default_shipping_method');
|
||||
$chosen_method = apply_filters( 'woocommerce_shipping_chosen_method', get_option('woocommerce_default_shipping_method'), $_available_methods );
|
||||
|
||||
// Loops methods and find a match
|
||||
if ( ! isset( $_available_methods[$chosen_method] ) ) {
|
||||
|
|
|
@ -149,6 +149,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
|
||||
==
|
||||
|
||||
* Tweak - woocommerce_shipping_chosen_method hook
|
||||
* Tweak - Layered nav child taxonomies support
|
||||
* Tweak - Change debug page to status page to make it more noticeable.
|
||||
* Tweak - Broken up settings pages to ease development
|
||||
|
|
Loading…
Reference in New Issue