LLMS_Admin_Notices::output_notices()
Output all saved notices.
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.notices.php
public static function output_notices() {
$notices_to_print = array_diff( self::get_notices(), self::$printed_notices );
foreach ( $notices_to_print as $notice_id ) {
self::output_notice( $notice_id );
self::$printed_notices[] = $notice_id;
}
self::output_global_notices();
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.1.0 | Made sure to print the notices only once. |
| 3.0.0 | Introduced. |