Fictioneer Elementor Control allows plugin in customizer

This commit is contained in:
Tetrakern 2024-06-28 12:41:33 +02:00
parent 7a56f1ff5f
commit 8585eb8152

View File

@ -56,7 +56,8 @@ function fictioneer_elementor_control() {
if ( if (
is_admin() || is_admin() ||
wp_doing_ajax() || wp_doing_ajax() ||
strpos( $_SERVER['REQUEST_URI'], 'elementor' ) !== false strpos( $_SERVER['REQUEST_URI'], 'elementor' ) !== false ||
strpos( $_SERVER['REQUEST_URI'], 'customize_changeset' ) !== false
) { ) {
return; return;
} }