Static constructor

Return Return


Top ↑

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


Top ↑

Changelog Changelog

Version Description
4.13.0 Populate the self::$notices using self::load_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.