LLMS_Admin_Notices::init()
Static constructor
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.notices.php
public static function init() { self::$notices = self::load_notices(); add_action( 'wp_loaded', array( __CLASS__, 'hide_notices' ) ); add_action( 'current_screen', array( __CLASS__, 'add_output_actions' ) ); add_action( 'shutdown', array( __CLASS__, 'save_notices' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.13.0 | Populate the self::$notices using self::load_notices() . |
3.0.0 | Introduced. |