WC_Shortcodes::order_by_rating_post_clauses
Устарела с версии 3.2.0. Больше не поддерживается и может быть удалена. Используйте WC_Shortcode_Products::order_by_rating_post_clauses().
Order by rating.
Метод класса: WC_Shortcodes{}
Хуков нет.
Возвращает
Массив.
Использование
$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 Shortcodes::order by rating post clauses WC 10.7.0
public static function order_by_rating_post_clauses( $args ) {
return WC_Shortcode_Products::order_by_rating_post_clauses( $args );
}