woocommerce_kses_notice_allowed_tags хук-фильтр . WC 3.9.0
Kses notice allowed tags.
Использование
add_filter( 'woocommerce_kses_notice_allowed_tags', 'filter_function_name_749' ); function filter_function_name_749( $allowed_tags ){ // filter... return $allowed_tags; }
- $allowed_tags(массив[]/строка)
- An array of allowed HTML elements and attributes, or a context name such as 'post'.
Список изменений
С версии 3.9.0 | Введена. |
Где вызывается хук
woocommerce_kses_notice_allowed_tags
woocommerce/includes/wc-notice-functions.php 268
return wp_kses( $message, apply_filters( 'woocommerce_kses_notice_allowed_tags', $allowed_tags ) );