Content of the article
For experiments of developers about memory overloading in Dynamic recount.
- This hook uses in file: wp-content\plugins\woocommerce-products-filter\classes\counter.php
- In __constructor of class WP_QueryWoofCounter
- When this hook returns TRUE in WP_Query attributes is added: nopaging=false and posts_per_page=1 - in some cases this helps to decrease memory comsumtion, but doesn works for all sites.