ActionScheduler_Abstract_ListTable::display_admin_notices
Display the table heading and search query, if any
Method of the class: ActionScheduler_Abstract_ListTable{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->display_admin_notices();
ActionScheduler_Abstract_ListTable::display_admin_notices() ActionScheduler Abstract ListTable::display admin notices code WC 11.2.2
protected function display_admin_notices() {
foreach ( $this->admin_notices as $notice ) {
wp_admin_notice(
$notice['message'],
array(
'id' => 'message',
'type' => 'updated' === $notice['type'] ? '' : $notice['type'],
'paragraph_wrap' => true,
'additional_classes' => 'updated' === $notice['type'] ? 'updated' : '',
)
);
}
}