wc_get_text_attributes() WC 2.4
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 5.0.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' );
}