WC_Query::reset_chosen_attributes
Reset the chosen attributes so that get_layered_nav_chosen_attributes will get them from the query again.
Method of the class: WC_Query{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Query::reset_chosen_attributes();
WC_Query::reset_chosen_attributes() WC Query::reset chosen attributes code WC 10.8.1
public static function reset_chosen_attributes() {
self::$chosen_attributes = null;
}