A WordPress-centric search engine for devs and theme authors



atom_enclosure ›

Since2.2.0
Deprecatedn/a
apply_filters( 'atom_enclosure', 'Parameters:
  • (string) $html_link_tag The HTML link tag with a URI and other attributes.
    Required: No
    Default:
Defined at:Codex:

Filters the atom enclosure HTML link tag for the current post.





Source

echo apply_filters( 'atom_enclosure', '<link href="' . esc_url( trim( $enclosure[0] ) ) . '" rel="enclosure" length="' . absint( trim( $enclosure[1] ) ) . '" type="' . esc_attr( trim( $enclosure[2] ) ) . '" />' . "\n" );