WordPress开发者和主题制作者的搜索引擎



atom_enclosure ›

Since2.2.0
已弃用n/a
apply_filters( 'atom_enclosure', '参数:
  • (string) $html_link_tag The HTML link tag with a URI and other attributes.
    Required: No
    默认:
定义在:文档:

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





源码

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" );