Provider::register()
Activates the migration mode, disabling a number of UI elements across EC.
Return
(bool) Whether the Event-wide maintenance mode was activated or not.
Source
File: src/Events_Community/Custom_Tables/V1/Migration/Maintenance_Mode/Provider.php
public function register() { if ( $this->has_registered ) { return false; } $this->has_registered = true; add_action( 'tec_events_custom_tables_v1_migration_maintenance_mode', [ $this, 'add_filters' ] ); return true; }
Changelog
Version | Description |
---|---|
4.10.0 | Introduced. |