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; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.8.3 | Introduced. |