Filter: bricks/woocommerce/products_orderby_options
Filters WooCommerce product order-by options used by Bricks controls.
Parameters
Section titled “Parameters”$options(array): Order-by option keys and labels.
Example usage
Section titled “Example usage”add_filter( 'bricks/woocommerce/products_orderby_options', function( $options ) { $options['title'] = esc_html__( 'Sort by title', 'my-plugin' );
return $options;} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.