' .
esc_html__( 'Followly replaces the older "WooAutoMail" plugin. Please deactivate WooAutoMail first; your automations and log are taken over automatically.', 'followly' ) .
'
';
}
);
return;
}
Followly_Migration::maybe_run();
if ( ! class_exists( 'WooCommerce' ) ) {
add_action(
'admin_notices',
function () {
echo '' .
esc_html__( 'Followly requires WooCommerce to be installed and active.', 'followly' ) .
'
';
}
);
return;
}
require_once FOLLOWLY_DIR . 'includes/class-followly-context.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-merge-tags.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-conditions.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-triggers.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-actions.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-action-email.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-engine.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-scheduler.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-log.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-manual.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-bulk-run.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-cpt.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-admin-automation-edit.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-test-email.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-admin-menu.php';
require_once FOLLOWLY_DIR . 'includes/class-followly-settings.php';
Followly_CPT::init();
Followly_Admin_Automation_Edit::init();
Followly_Test_Email::init();
Followly_Triggers::init();
Followly_Actions::init();
Followly_Scheduler::init();
Followly_Manual::init();
Followly_Bulk_Run::init();
Followly_Log::init();
Followly_Admin_Menu::init();
Followly_Settings::init();
}
add_action( 'plugins_loaded', 'followly_bootstrap', 20 );