WC_Query::rating_filter_meta_query()publicWC 1.0

Deprecated from version 3.0.0 Replaced with taxonomy.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Return a meta query for filtering by rating.

Method of the class: WC_Query{}

No Hooks.

Return

Array.

Usage

$WC_Query = new WC_Query();
$WC_Query->rating_filter_meta_query();

Changelog

Deprecated since 3.0.0 Replaced with taxonomy.

WC_Query::rating_filter_meta_query() code WC 8.7.0

public function rating_filter_meta_query() {
	return array();
}