prep_atom_text_construct
prep_atom_text_construct ( $data )
Parameters:- (string) data Input string.
Links:Returns:- (array) array(type, value)
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Determines the type of a string of data with the data formatted.Tell whether the type is text, HTML, or XHTML, per RFC 4287 section 3.1.
In the case of WordPress, text is defined as containing no markup,
XHTML is defined as "well formed", and HTML as tag soup (i.e., the rest).
Container div tags are added to XHTML values, per section 3.1.1.3.