Show notices before cat loops

This commit is contained in:
Mike Jolley 2015-06-03 14:22:23 +01:00
parent b331bf2cc9
commit a2f05dd368
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ function wc_print_notices() {
wc_clear_notices();
}
add_action( 'woocommerce_shortcode_before_product_cat_loop', 'wc_print_notices', 10 );
add_action( 'woocommerce_before_shop_loop', 'wc_print_notices', 10 );
add_action( 'woocommerce_before_single_product', 'wc_print_notices', 10 );