conference_schedule_load()
Register and load the service provider for loading the plugin.
Source
File: src/functions/load.php
function conference_schedule_load() {
// Last file that needs to be loaded manually.
require_once dirname( CONFERENCE_SCHEDULE_PRO_FILE ) . '/src/Conference/Plugin.php';
// Load the plugin, autoloading happens here.
$plugin = new Plugin();
$plugin->boot();
//@todo added as a placeholder to be finished when adding capabilities for the cpts.
//register_activation_hook( CONFERENCE_SCHEDULE_PRO_FILE, [ $plugin, 'activate' ] );
//register_deactivation_hook( CONFERENCE_SCHEDULE_PRO_FILE, [ $plugin, 'deactivate' ] );
}
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |