acf_render_admin_notices()
acf_render_admin_notices
Renders all admin notices HTML.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
acf_render_admin_notices();
Список изменений
С версии 5.7.10 | Введена. |
Код acf_render_admin_notices() acf render admin notices ACF 6.0.4
function acf_render_admin_notices() { // Get notices. $notices = acf_get_store( 'notices' )->get_data(); // Loop over notices and render. if ( $notices ) { foreach ( $notices as $notice ) { $notice->render(); } } }