LLMS_Admin_Notices_Core::init()

Constructor


Return Return

(void)


Top ↑

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' ) );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.14.8 Add handler for removing dismissed notices.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.