Astra_Addon_Builder_Customizer::__construct()
Constructor
Description
Source
File: classes/builder/class-astra-addon-builder-customizer.php
public function __construct() { add_action( 'customize_preview_init', array( $this, 'enqueue_customizer_preview_scripts' ) ); if ( false === astra_addon_builder_helper()->is_header_footer_builder_active ) { return; } add_action( 'astra_get_css_files', array( $this, 'add_styles' ) ); $this->load_base_components(); add_action( 'customize_register', array( $this, 'header_configs' ), 5 ); add_action( 'customize_register', array( $this, 'footer_configs' ), 5 ); add_filter( 'astra_flags_svgs', array( $this, 'astra_addon_flag_svgs' ), 1, 10 ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |