WC_Shortcodes::order_by_rating_post_clauses
Deprecated since 3.2.0. It is no longer supported and may be removed in future releases. Use WC_Shortcode_Products::order_by_rating_post_clauses() instead.
Order by rating.
Method of the class: WC_Shortcodes{}
No Hooks.
Returns
Array.
Usage
$result = WC_Shortcodes::order_by_rating_post_clauses( $args );
- $args(array) (required)
- Query args.
Changelog
| Deprecated since 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 code WC 10.4.3
public static function order_by_rating_post_clauses( $args ) {
return WC_Shortcode_Products::order_by_rating_post_clauses( $args );
}