ActionScheduler_Abstract_ListTable::display_admin_notices
Display the table heading and search query, if any
Метод класса: ActionScheduler_Abstract_ListTable{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->display_admin_notices();
Код ActionScheduler_Abstract_ListTable::display_admin_notices() ActionScheduler Abstract ListTable::display admin notices WC 11.3.0
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' : '',
)
);
}
}