Astra_Ext_Spacing_Loader::new_customize_register( WP_Customize_Manager $wp_customize )
Add postMessage support for site title and description for the Theme Customizer.
Description
Parameters
- $wp_customize
-
(WP_Customize_Manager) (Required) Theme Customizer object.
Source
File: addons/spacing/classes/class-astra-ext-spacing-loader.php
public function new_customize_register( $wp_customize ) {
/**
* Sections
*/
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-container-layout-spacing-configs.php';
if ( astra_addon_existing_header_footer_configs() ) {
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-header-spacing-configs.php';
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-above-header-spacing-configs.php';
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-below-header-spacing-configs.php';
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-footer-small-spacing-configs.php';
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-site-identity-spacing-configs.php';
} else {
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-header-builder-menu-configs.php';
}
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-sidebar-spacing-configs.php';
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-blog-spacing-configs.php';
require_once ASTRA_EXT_SPACING_DIR . 'classes/sections/class-astra-customizer-single-post-spacing-configs.php';
}
Expand full source code Collapse full source code View on Trac