LLMS_Staging::notice()

Output a notice informing the user the site was put into staging mode.


Return Return

(void)


Top ↑

Source Source

File: includes/class-llms-staging.php

	public static function notice() {

		$id = 'maybe-staging';

		if ( ! LLMS_Admin_Notices::has_notice( $id ) ) {

			LLMS_Admin_Notices::add_notice(
				$id,
				array(
					'type'        => 'info',
					'dismissible' => false,
					'remindable'  => false,
					'template'    => 'admin/notices/staging.php',
				)
			);

		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.12.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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