WC_Shortcodes::order_by_rating_post_clauses │ public static │ WC 1.0

Устарела с версии 3.2.0. Больше не поддерживается и может быть удалена. Используйте WC_Shortcode_Products::order_by_rating_post_clauses().

Order by rating.

Метод класса: WC_Shortcodes{}

Хуков нет.

Возвращает

array.

Использование

$result = WC_Shortcodes::order_by_rating_post_clauses( $args );
$args(массив) (обязательный)
Query args.

Список изменений

Устарела с 3.2.0 Use WC_Shortcode_Products::order_by_rating_post_clauses().

Код WC_Shortcodes::order_by_rating_post_clauses() WC 11.2.2

public static function order_by_rating_post_clauses( $args ) {
	return WC_Shortcode_Products::order_by_rating_post_clauses( $args );
}