Astra_Ext_Mobile_Header_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/mobile-header/classes/class-astra-ext-mobile-header-loader.php

		public function new_customize_register( $wp_customize ) {

			/**
			 * Sections
			 */
			if ( astra_addon_existing_header_footer_configs() ) {
				require_once ASTRA_EXT_MOBILE_HEADER_DIR . 'classes/sections/class-astra-customizer-mobile-header-configs.php';
				require_once ASTRA_EXT_MOBILE_HEADER_DIR . 'classes/sections/class-astra-customizer-mobile-above-header-configs.php';
				if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) {
					require_once ASTRA_EXT_MOBILE_HEADER_DIR . 'classes/sections/class-astra-customizer-mobile-below-header-configs.php';
				}
			}

		}


User Contributed Notes

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