WC_Query::reset_chosen_attributes
Reset the chosen attributes so that get_layered_nav_chosen_attributes will get them from the query again.
Метод класса: WC_Query{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = WC_Query::reset_chosen_attributes();
Код WC_Query::reset_chosen_attributes() WC Query::reset chosen attributes WC 10.9.4
public static function reset_chosen_attributes() {
self::$chosen_attributes = null;
}