• It actually won’t work and Elementor editor failed to open properly.

    When disable this plugin, Elementor editor works just fine

Viewing 1 replies (of 1 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi, I’ve tested the latest version of WordPress, Elementor and MMR and it seems to work ok. Perhaps you have another plugin that is conflicting?

    Either way, this code should disable MMR with the Elementor editor:

    function should_mmr_elementor($should_mmr)
    {
    	if($should_mmr && is_user_logged_in())
    	{
    		if(
    			isset($_GET['url']) && $_GET['url'] == '/wp-json/elementor/v1/globals' ||
    			isset($_GET['elementor-preview'])
    		)
    		{ 
    			return false;
    		}
    	}
    	return $should_mmr;
    }
    add_filter('should_mmr', 'should_mmr_elementor');

    Please try adding that to your functions file. If that works ok I might make another MMR plugin for Elementor sites.

Viewing 1 replies (of 1 total)
  • The topic ‘Won’t work when opening Elementor editor’ is closed to new replies.