WC_Brands::recount_all_brands
Устарела с версии 1.2.0. Больше не поддерживается и может быть удалена. Используйте wc_recount_all_terms().
Recount all brands.
Метод класса: WC_Brands{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Brands = new WC_Brands(); $WC_Brands->recount_all_brands();
Список изменений
| Устарела с 11.2.0 | Use wc_recount_all_terms() instead. |
Код WC_Brands::recount_all_brands() WC Brands::recount all brands WC 11.3.0
public function recount_all_brands() {
wc_deprecated_function( __METHOD__, '11.2.0', 'wc_recount_all_terms()' );
wc_recount_all_terms();
}