remove_control('beshop_blog_style'); $wp_customize->remove_control('beshop_shop_style'); $wp_customize->add_setting('beshopfree_blog_style', array( 'default' => 'style4', 'capability' => 'edit_theme_options', 'type' => 'theme_mod', 'sanitize_callback' => 'beshop_sanitize_select', 'transport' => 'refresh', )); $wp_customize->add_control('beshopfree_blog_style', array( 'label' => __('Select Blog Style', 'beshop-lite'), 'section' => 'beshop_blog', 'settings' => 'beshopfree_blog_style', 'type' => 'select', 'choices' => array( 'style1' => __('List over Image', 'beshop-lite'), 'style2' => __('List Style', 'beshop-lite'), 'style3' => __('Classic Style', 'beshop-lite'), 'style4' => __('Grid Style', 'beshop-lite'), ), )); $wp_customize->add_setting('beshop_shop_style', array( 'default' => '2', 'capability' => 'edit_theme_options', 'type' => 'theme_mod', 'sanitize_callback' => 'beshopwoo_sanitize_select', 'transport' => 'refresh', )); $wp_customize->add_control('beshop_shop_style', array( 'label' => __('Select Products Style', 'beshop-lite'), 'section' => 'beshop_shop', 'settings' => 'beshop_shop_style', 'type' => 'select', 'choices' => array( '1' => __('Style One', 'beshop-lite'), '2' => __('Style Two', 'beshop-lite'), ), )); } add_action('customize_register', 'beshop_freecustomize_register', 99);