Support

Home Forums Event Espresso Premium Conflict with Divi BattleSuit Plugin

Conflict with Divi BattleSuit Plugin

Posted: April 11, 2020 at 8:09 am

Viewing 2 reply threads


zafissa

April 11, 2020 at 8:09 am

Events cannot be published (they remain as Inactive) after clicking Publish (I have tried this on both a dev site and the live site). If I deactivate the Divi BattleSuit plugin then the event posts fine.

I need both plugins – please help!!


zafissa

April 11, 2020 at 8:10 am

Also the Editor has a “Editor Out of Focus” in the autosave section of it when the plugin is enabled.


Josh

  • Support Staff

April 13, 2020 at 12:09 pm

Hi,

One way to fix this is unhook any actions being hooked in to divi extensions if it’s an Event Espresso post type editor page.

e.g. You add this to a site specific functions plugin:

add_action('plugins_loaded', 'my_ee_remove_ds_suit', 9);

function my_ee_remove_ds_suit() {
    if (
        ! empty($_POST['post_type']) 
        && 
        in_array(
            $_POST['post_type'],
            array(
                'espresso_events',
                'espresso_venues',
                'espresso_people'
            )
        )
 ) {
    remove_all_actions('divi_extensions_init');
 }
}

You can add the above to a functions plugin.

Viewing 2 reply threads

The support post ‘Conflict with Divi BattleSuit Plugin’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso