Content of the page

woof_counter_method

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.

From v.1.1.8/2.1.8

 

Faster WordPress Hosting