atom_enclosure хук-фильтр . WP 2.2.0
Filters the atom enclosure HTML link tag for the current post.
Использование
add_filter( 'atom_enclosure', 'filter_function_name_4318' ); function filter_function_name_4318( $html_link_tag ){ // filter... return $html_link_tag; }
- $html_link_tag(строка)
- The HTML link tag with a URI and other attributes.
Список изменений
С версии 2.2.0 | Введена. |
Где вызывается хук
atom_enclosure
wp-includes/feed.php 559
echo apply_filters( 'atom_enclosure', $html_link_tag );