acf/allow_unfiltered_html хук-фильтр . ACF 5.7.10
Filters whether the current user is allowed to save unfiltered HTML.
Использование
add_filter( 'acf/allow_unfiltered_html', 'filter_function_name_9481' ); function filter_function_name_9481( $allow_unfiltered_html ){ // filter... return $allow_unfiltered_html; }
- $allow_unfiltered_html(true/false)
- allow_unfiltered_html The result.
Список изменений
С версии 5.7.10 | Введена. |
Где вызывается хук
acf/allow_unfiltered_html
acf/includes/acf-user-functions.php 118
return apply_filters( 'acf/allow_unfiltered_html', $allow_unfiltered_html );