LLMS_Staging::notice()
Output a notice informing the user the site was put into staging mode.
Return Return
(void)
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',
)
);
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.12.0 | Introduced. |