wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



rss_enclosure › Hooks de Filtros WordPress

Desde2.2.0
Obsoleton/a
apply_filters( 'rss_enclosure', 'Parâmetros:
  • (string) $html_link_tag The HTML link tag with a URI and other attributes.
    Required: No
    Padrão:
Definido em:Codex:

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





Fonte

echo apply_filters( 'rss_enclosure', '<enclosure url="' . esc_url( trim( $enclosure[0] ) ) . '" length="' . absint( trim( $enclosure[1] ) ) . '" type="' . esc_attr( $type ) . '" />' . "\n" );