Astra_Customizer::prepare_javascript_panel_configs( array $config )
Prepare Panel Configs for Javascript.
Description
Parameters
- $config
-
(array) (Required) configs.
Source
File: inc/customizer/class-astra-customizer.php
public function prepare_javascript_panel_configs( $config ) { $panel_name = astra_get_prop( $config, 'name' ); unset( $config['type'] ); $config['type'] = 'ast_panel'; $config['active'] = true; $config['id'] = $panel_name; self::$js_configs['panels'][ $panel_name ] = $config; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |