generate tables for mec (install hook)
All checks were successful
All checks were successful
This commit is contained in:
parent
34f5d9e750
commit
04e418d904
1 changed files with 6 additions and 0 deletions
|
@ -91,6 +91,12 @@ function _manually_load_plugin() {
|
||||||
em_create_locations_table();
|
em_create_locations_table();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( 'modern_events_calendar_lite' === $activitypub_event_extension_integration_filter ) {
|
||||||
|
require_once $plugin_dir . 'modern-events-calendar-lite/app/libraries/factory.php';
|
||||||
|
$mec_factory = new MEC_factory();
|
||||||
|
$mec_factory->install();
|
||||||
|
}
|
||||||
|
|
||||||
// At last manually load our WordPress plugin.
|
// At last manually load our WordPress plugin.
|
||||||
require dirname( __DIR__ ) . '/activitypub-event-bridge.php';
|
require dirname( __DIR__ ) . '/activitypub-event-bridge.php';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue