Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$component_orderby_options = apply_filters( 'woocommerce_composite_component_orderby', array(
'default' => __( 'Default sorting', 'woocommerce' ),
'popularity' => __( 'Sort by popularity', 'woocommerce' ),
'date' => __( 'Sort by newness', 'woocommerce' ),
'price' => __( 'Sort by price: low to high', 'woocommerce' ),
'price-desc' => __( 'Sort by price: high to low', 'woocommerce' )
), $component_id, $this );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment