wc_get_text_attributes( string $raw_attributes )
Gets text attributes from a string.
Description Description
Parameters Parameters
- $raw_attributes
-
(Required) Raw attributes.
Return Return
(array)
Source Source
File: includes/wc-attribute-functions.php
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' ); }
Changelog Changelog
Version | Description |
---|---|
2.4 | Introduced. |