WC_Brands::recount_all_brands │ public │ WC 1.0

Deprecated since 1.2.0. It is no longer supported and may be removed in future releases. Use wc_recount_all_terms() instead.

Recount all brands.

Method of the class: WC_Brands{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Brands = new WC_Brands();
$WC_Brands->recount_all_brands();

Changelog

Deprecated since 11.2.0 Use wc_recount_all_terms() instead.

WC_Brands::recount_all_brands() code WC 11.3.0

public function recount_all_brands() {
	wc_deprecated_function( __METHOD__, '11.2.0', 'wc_recount_all_terms()' );
	wc_recount_all_terms();
}