acf_esc_html()
Sanitizes text content and strips out disallowed HTML.
This function emulates wp_kses_post() a context of "acf" for extensibility.
Хуков нет.
Возвращает
Строку
.
Использование
acf_esc_html( $string );
- $string(строка)
- -
По умолчанию: ''
Список изменений
С версии 5.9.6 | Введена. |
Код acf_esc_html() acf esc html ACF 6.0.4
function acf_esc_html( $string = '' ) { return wp_kses( (string) $string, 'acf' ); }