When Used ‘exclude’ argument, ‘transport’ – ‘auto’ does not work
-
Hi,
As the title says, when ‘exclude’ argument is used – ‘auto’ transport does not work.
Exclude does its job fine.Here is the code used:
my_Kirki::add_field( 'my_config', array( 'type' => 'color', 'settings' => 'my_setting', 'label' => esc_html__( 'Color', 'chhavi' ), 'section' => 'my_section', 'priority' => 10, 'transport' => 'auto', 'default' => '#000000', 'output' => array( array( 'element' => '.my-div', 'property' => 'background-color', 'exclude' => array( '#000000', ), ), ), ) );
Am I missing something?
Thanks in Advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘When Used ‘exclude’ argument, ‘transport’ – ‘auto’ does not work’ is closed to new replies.