woof_counter_method
用于开发人员关于动态重新计数中内存过载的实验。
- 此钩子在此文件中使用: wp-content\plugins\woocommerce-products-filter\classes\counter.php
- 在 __constructor of class WP_QueryWoofCounter
- When this hook returns TRUE in WP_Query attributes is added: nopaging=false 和 posts_per_page=1 – 在某些情况下,这有助于减少内存消耗,但并非对所有网站都有效。
从 v.1.1.8/2.1.8 开始
