ACF_Admin::admin_footer_text()
Modifies the admin footer text.
{} Это метод класса: ACF_Admin{}
Хуков нет.
Возвращает
Строку
.
Использование
$ACF_Admin = new ACF_Admin(); $ACF_Admin->admin_footer_text( $text );
- $text(строка) (обязательный)
- The admin footer text.
Список изменений
С версии 5.9.0 | Введена. |
Код ACF_Admin::admin_footer_text() ACF Admin::admin footer text ACF 5.10.2
function admin_footer_text( $text ) { // Use RegExp to append "ACF" after the <a> element allowing translations to read correctly. return preg_replace( '/(<a[\S\s]+?\/a>)/', '$1 ' . __( 'and', 'acf' ) . ' <a href="https://www.advancedcustomfields.com" target="_blank">ACF</a>', $text, 1 ); }