prep_atom_text_construct


prep_atom_text_construct ( $data )

Parameters:
  • (string) $data Input string
Links:
Returns:
  • (array) array(type, value)
Defined at:

Description

Determine 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.

Related Functions

_deprecated_constructor, get_attachment_icon_src, atom_site_icon, get_the_content, wp_update_comment_count

Top Google Results

User discussions

wpseek mobile