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', 'wp_kama_acf_allow_unfiltered_html_filter' );

/**
 * Function for `acf/allow_unfiltered_html` filter-hook.
 * 
 * @param bool $allow_unfiltered_html allow_unfiltered_html The result.
 *
 * @return bool
 */
function wp_kama_acf_allow_unfiltered_html_filter( $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/allow_unfiltered_html
acf/includes/acf-user-functions.php 118
return apply_filters( 'acf/allow_unfiltered_html', $allow_unfiltered_html );

Где используется хук в Advanced Custom Fields PRO

Использование не найдено.