• Resolved Cafe24 WP Developer

    (@phdevcafe24)


    Hi,

    I disabled the lightbox global settings for Elementor and yet, it the lightbox is functional

    In Elementor settings, the lightbox is disabled

    Here is the code,

           
            $oElementorKit = Plugin::$instance->kits_manager->get_active_kit();
            $oElementorKit->update_settings(array(
                'global_image_lightbox'        => 'no',
                'data-elementor-open-lightbox' => 'no'
            ));
    

    Kindly advise, thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disabled Elementor Lightbox still functional’ is closed to new replies.