apply_filters( 'neve_sidebar_position' )

The functions hooked at ‘woocommerce_product_query’ and ‘loop_shop_columns’ need to run from the beginning, not inside a hook. Moving those two functions to run at wp hook will break the product per page control.


Description

Since you can’t control product per page or the number of columns in an elementor template, those two functions should not be conditioned by the existence of an elementor template.


Source

File: includes/modules/woocommerce_booster/views/shop_page.php

Part of Neve Pro Addon | View on GitHub