customizer-repeater
customizer-repeater copied to clipboard
"customizer_repeater_image_control" is not working
Hello, I've created a service repeater field which is contain a image icon as well. When I'm adding customizer_repeater_image_control then I can't see any image field on my customizer. Is it require any settings to upload image there?
$wp_customize->add_setting( 'craftnce_show_home_service_item_settings', array(
'sanitize_callback' => 'customizer_repeater_sanitize'
));
$wp_customize->add_control( new Customizer_Repeater( $wp_customize, 'craftnce_show_home_service_item_ctrl', array(
'label' => esc_html__('service Item','craftnce'),
'section' => 'craftnce_home_page_service',
'settings' => 'craftnce_show_home_service_item_settings',
'customizer_repeater_image_control' => true,
'customizer_repeater_title_control' => true,
'customizer_repeater_text_control' => true,
)));