Merge pull request #18283 from WPprodigy/fix-set-orderby-default
Set default catalog_orderby in customizer
This commit is contained in:
commit
6db59dbc91
|
@ -282,7 +282,7 @@ class WC_Shop_Customizer {
|
|||
$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' ),
|
||||
|
|
Loading…
Reference in New Issue