final class Admin_Notice_Queue

Utility functions class to hold useful chunks of code we find ourselves often reusing.

Constants

NOTICE_QUEUE_TRANSIENT

Methods

static 
add_notice(Admin_Notice $Notice)

Add an Admin Notice to the global queue.

static 
print_notices()

Print all of the Admin Notices and remove the transient.

Details

at line 33
final static add_notice(Admin_Notice $Notice)

Add an Admin Notice to the global queue.

Parameters

Admin_Notice $Notice

The Admin Notice to be added to the queue.

at line 47
final static print_notices()

Print all of the Admin Notices and remove the transient.