wc_get_text_attributes()
Gets text attributes from a string.
Хуков нет.
Возвращает
Массив
.
Использование
wc_get_text_attributes( $raw_attributes );
- $raw_attributes(строка) (обязательный)
- Raw attributes.
Список изменений
С версии 2.4 | Введена. |
Код wc_get_text_attributes() wc get text attributes WC 8.7.0
function wc_get_text_attributes( $raw_attributes ) { return array_filter( array_map( 'trim', explode( WC_DELIMITER, html_entity_decode( $raw_attributes, ENT_QUOTES, get_bloginfo( 'charset' ) ) ) ), 'wc_get_text_attributes_filter_callback' ); }