elementor select2 control

Solutions on MaxInterview for elementor select2 control by the best coders in the world

showing results for - "elementor select2 control"
Éloïse
05 Oct 2018
1$this->add_control(
2			'show_elements',
3			[
4				'label' => __( 'Show Elements', 'plugin-domain' ),
5				'type' => \Elementor\Controls_Manager::SELECT2,
6				'multiple' => true,
7				'options' => [
8					'title'  => __( 'Title', 'plugin-domain' ),
9					'description' => __( 'Description', 'plugin-domain' ),
10					'button' => __( 'Button', 'plugin-domain' ),
11				],
12				'default' => [ 'title', 'description' ],
13			]
14		);