WordPress at Your Fingertips
function is not described

wc_get_text_attributes() WC 2.4

Gets text attributes from a string.

No Hooks.

Return

Array.

Usage

wc_get_text_attributes( $raw_attributes );
$raw_attributes(string) (required)
Raw attributes.

Changelog

Since 2.4 Introduced.

Code of wc_get_text_attributes() WC 5.6.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' );
}