acf_render_admin_notices() ACF 5.7.10
Renders all admin notices HTML.
Хуков нет.
Возвращает
null.
Использование
acf_render_admin_notices();
- (void) (обязательный)
Список изменений
С версии 5.7.10 | Введена. |
Код acf_render_admin_notices() acf render admin notices ACF 5.9.1
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();
}
}
}