Astra_Customizer::is_astra_customizer()

Check if the current customizer request belongs to Astra theme.


Description


Return

(bool) True if it is Astra customizer, false otherwise.


Source

File: inc/customizer/class-astra-customizer.php

		public static function is_astra_customizer() {

			// Bail early if it is the Kadence WooCommerce Email Designer plugin customizer.
			if ( class_exists( 'Kadence_Woomail_Designer' ) ) {
				if ( Kadence_Woomail_Designer::is_own_customizer_request() || Kadence_Woomail_Designer::is_own_preview_request() ) {
					return false;
				}
			}

			return true;
		}

Changelog

Changelog
Version Description
4.8.3 Introduced.


User Contributed Notes

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