LLMS_Admin_Notices::get_notice( string $notice_id )
Get notice details array from the DB
Parameters Parameters
- $notice_id
-
(string) (Required) Notice id.
Return Return
(array)
Source Source
File: includes/admin/class.llms.admin.notices.php
public static function get_notice( $notice_id ) {
return get_option( 'llms_admin_notice_' . $notice_id, array() );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.13.0 | When the notice cannot be found, return an empty array in favor of an empty string. |
| 3.0.0 | Introduced. |