atom_enclosure
atom_enclosure ( No parameters )
- Introduced in WordPress: 2.2.0
- Deprecated in WordPress: —
Description
Displays the atom enclosure for the current post.Uses the global $post to check whether the post requires a password and if
the user has the password for the post. If not then it will return before
displaying.
Also uses the function get_post_custom() to get the post's 'enclosure'
metadata field and parses the value to display the enclosure(s). The
enclosure(s) consist of link HTML tag(s) with a URI and other attributes.