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).


Top ↑

Return Return

(void)


Top ↑

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/',
			)
		);

	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.