Controller
Class Controller
Description Description
The main plugin/initialization class for migration to custom tables.
Source Source
File: packages/action-scheduler/classes/migration/Controller.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
Methods Methods
- __construct — Controller constructor.
- allow_migration — Allow datastores to enable migration to AS tables.
- display_migration_notice — Show a dashboard notice that migration is in progress.
- get_logger_class — Set the action logger class name.
- get_migration_config_object — Get the default migration config object
- get_store_class — Set the action store class name.
- has_custom_datastore — Get flag indicating whether a custom datastore is in use.
- hook — Add store classes. Hook migration.
- hook_admin_notices — Hook dashboard migration notice.
- init — Proceed with the migration if the dependencies have been met.
- instance — Singleton factory.
- maybe_hook_migration — Possibly hook the migration scheduler action.
- schedule_migration — Set up the background migration process