Created
April 28, 2020 14:00
-
-
Save somewherewarm-snippets/8b4031d303111f0a953694405b19de62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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