We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d539233 commit e34f829Copy full SHA for e34f829
src/compatibility/woocommerce.php
@@ -30,7 +30,7 @@ function is_woocommerce_shop_page() {
30
31
}
32
33
- add_action( 'wp', 'is_woocommerce_shop_page' );
+ add_action( 'woocommerce_before_main_content', 'is_woocommerce_shop_page' );
34
35
36
if ( ! function_exists( 'stackable_check_if_woocommerce_shop' ) ) {
0 commit comments