Support

Home Forums Event Espresso Premium Conflict with Divi BattleSuit Plugin

Conflict with Divi BattleSuit Plugin

Posted: April 11, 2020 at 8:09 am


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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Josh 1 month, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!