WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Controller::hook_admin_notices() public WC 1.0

Hook dashboard migration notice.

{} It's a method of the class: Controller{}

No Hooks.

Return

null. Nothing.

Usage

$Controller = new Controller();
$Controller->hook_admin_notices();

Code of Controller::hook_admin_notices() WC 6.1.0

public function hook_admin_notices() {
	if ( ! $this->allow_migration() || \ActionScheduler_DataController::is_migration_complete() ) {
		return;
	}
	add_action( 'admin_notices', array( $this, 'display_migration_notice' ), 10, 0 );
}