Astra_Customizer_Control_Base::get_control_instance( string $control_type )

Returns control instance


Description


Parameters

$control_type

(string) (Required) control type.


Return

(string)


Source

File: inc/customizer/custom-controls/class-astra-customizer-control-base.php

		public static function get_control_instance( $control_type ) {
			$control_class = self::get_control( $control_type );

			if ( isset( $control_class['callback'] ) ) {
				return class_exists( $control_class['callback'] ) ? $control_class['callback'] : false;
			}

			return false;
		}

Changelog

Changelog
Version Description
1.4.3 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.