atom_enclosure WordPress Filter Hook
The atom_enclosure Wordpress hook allows you to specify an enclosure for your atom feed. This is useful for podcasts or other audio files that you want to include in your feed.
apply_filters( 'atom_enclosure', string $html_link_tag ) #
Filters the atom enclosure HTML link tag for the current post.
Parameters
- $html_link_tag
(string)The HTML link tag with a URI and other attributes.
Source
File: wp-includes/feed.php
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |