packages/kirki-framework/core/src/Control.php
final protected function add_control( $args ) {

		// Get the name of the class we're going to use.
		$class_name = $this->get_control_class_name( $args );

		// Add the control.
		$this->wp_customize->add_control( new $class_name( $this->wp_customize, $args['settings'], $args ) );

	}
final protected function add_control( $args ) {

		// Get the name of the class we're going to use.
		$class_name = $this->get_control_class_name( $args );

		// Add the control.
		$this->wp_customize->add_control( new $class_name( $this->wp_customize, $args['settings'], $args ) );

	}
final protected function add_control ( $ args ) { // Get the name of the class we're going to use. $ class_name = $ this -> get_control_class_name ( $ args ) ; // Add the control. $ this -> wp_customize -> add_control ( new $ class_name ( $ this -> wp_customize , $ args [ 'settings' ] , $ args ) ) ; }
Adds the control.

@access protected
@param array $args The field definition as sanitized in Kirki\Field.
Adds the control .