WordPress at Your Fingertips
function is not described

WC_Shortcodes::order_by_rating_post_clauses() public WC 1.0

Deprecated from version 3.2.0. It is no longer supported and can be removed in future releases. Use WC_Shortcode_Products::order_by_rating_post_clauses() instead.

Order by rating.

{} It's a method of the class: WC_Shortcodes{}

No Hooks.

Return

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().

Code of WC_Shortcodes::order_by_rating_post_clauses() WC 5.9.0

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