Change priority of notices on the account page so they appear above forms/content
This commit is contained in:
parent
a7463c5535
commit
47bd97862a
|
@ -299,7 +299,7 @@ add_action( 'woocommerce_before_single_product', 'woocommerce_output_all_notices
|
||||||
add_action( 'woocommerce_before_cart', 'woocommerce_output_all_notices', 10 );
|
add_action( 'woocommerce_before_cart', 'woocommerce_output_all_notices', 10 );
|
||||||
add_action( 'woocommerce_before_checkout_form_cart_notices', 'woocommerce_output_all_notices', 10 );
|
add_action( 'woocommerce_before_checkout_form_cart_notices', 'woocommerce_output_all_notices', 10 );
|
||||||
add_action( 'woocommerce_before_checkout_form', 'woocommerce_output_all_notices', 10 );
|
add_action( 'woocommerce_before_checkout_form', 'woocommerce_output_all_notices', 10 );
|
||||||
add_action( 'woocommerce_account_content', 'woocommerce_output_all_notices', 10 );
|
add_action( 'woocommerce_account_content', 'woocommerce_output_all_notices', 5 );
|
||||||
add_action( 'woocommerce_before_customer_login_form', 'woocommerce_output_all_notices', 10 );
|
add_action( 'woocommerce_before_customer_login_form', 'woocommerce_output_all_notices', 10 );
|
||||||
add_action( 'woocommerce_before_lost_password_form', 'woocommerce_output_all_notices', 10 );
|
add_action( 'woocommerce_before_lost_password_form', 'woocommerce_output_all_notices', 10 );
|
||||||
add_action( 'before_woocommerce_pay', 'woocommerce_output_all_notices', 10 );
|
add_action( 'before_woocommerce_pay', 'woocommerce_output_all_notices', 10 );
|
||||||
|
|
Loading…
Reference in New Issue