LLMS_Admin_Notices::has_notice( string $notice_id )

Determine if a notice is already set


Description Description


Parameters Parameters

$notice_id

(string) (Required) Id of the notice.


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/admin/class.llms.admin.notices.php

	public static function has_notice( $notice_id ) {
		return in_array( $notice_id, self::get_notices(), true );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.10.0 Use a strict comparison.
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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