Skip to content

Commit

Permalink
Set default catalog_orderby in customizer
Browse files Browse the repository at this point in the history
  • Loading branch information
WPprodigy committed Dec 25, 2017
1 parent eb60a17 commit 54fd171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/customizer/class-wc-shop-customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function add_product_catalog_section( $wp_customize ) {
$wp_customize->add_setting(
'woocommerce_default_catalog_orderby',
array(
'default' => '',
'default' => 'menu_order',
'type' => 'option',
'capability' => 'manage_woocommerce',
'sanitize_callback' => array( $this, 'sanitize_default_catalog_orderby' ),
Expand Down

0 comments on commit 54fd171

Please sign in to comment.