Skip to content

Commit e34f829

Browse files
committed
minor change
1 parent d539233 commit e34f829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compatibility/woocommerce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function is_woocommerce_shop_page() {
3030

3131
}
3232

33-
add_action( 'wp', 'is_woocommerce_shop_page' );
33+
add_action( 'woocommerce_before_main_content', 'is_woocommerce_shop_page' );
3434
}
3535

3636
if ( ! function_exists( 'stackable_check_if_woocommerce_shop' ) ) {

0 commit comments

Comments
 (0)