LLMS_DB_Upgrader::show_notice_pending()
Show the db upgrade admin notice.
Description Description
Users can click this notice to start the database upgrade(s).
Return Return
(void)
Source Source
File: includes/class-llms-db-ugrader.php
protected function show_notice_pending() { $notice_id = 'bg-db-update'; if ( LLMS_Admin_Notices::has_notice( $notice_id ) ) { LLMS_Admin_Notices::delete_notice( $notice_id ); } LLMS_Admin_Notices::add_notice( $notice_id, array( 'dismissible' => false, 'template' => 'db-update.php', 'default_path' => LLMS_PLUGIN_DIR . 'includes/admin/views/notices/', ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |