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; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.4.3 | Introduced. |