LLMS_Admin_Notices_Core::init()
Constructor
Contents
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.notices.core.php
*/
public static function init() {
add_action( 'admin_head', array( __CLASS__, 'maybe_hide_notices' ), 1 );
add_action( 'current_screen', array( __CLASS__, 'maybe_hide_notices' ), 999 );
add_action( 'current_screen', array( __CLASS__, 'add_init_actions' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.14.8 | Add handler for removing dismissed notices. |
| 3.0.0 | Introduced. |