This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Astra_Elementor::is_elementor_editor()

Check if Elementor Editor is open.


Description


Return

(boolean) True IF Elementor Editor is loaded, False If Elementor Editor is not loaded.


Source

File: inc/compatibility/class-astra-elementor.php

		private function is_elementor_editor() {
			if ( ( isset( $_REQUEST['action'] ) && 'elementor' == $_REQUEST['action'] ) || isset( $_REQUEST['elementor-preview'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
				return true;
			}

			return false;
		}

Changelog

Changelog
Version Description
1.2.7 Introduced.


User Contributed Notes

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