LLMS_Admin_Notices::get_notice( string $notice_id )

Get notice details array from the DB


Parameters Parameters

$notice_id

(string) (Required) Notice id.


Top ↑

Return Return

(array)


Top ↑

Source Source

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

	public static function get_notice( $notice_id ) {
		return get_option( 'llms_admin_notice_' . $notice_id, array() );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.13.0 When the notice cannot be found, return an empty array in favor of an empty string.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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