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



get_attached_media › Hooks de Filtros WordPress

Desde3.6.0
Obsoleton/a
› apply_filters( 'get_attached_media', $children, $type, $post )
Parâmetros: (3)
  • () children Array of media attached to the given post.
    Required: Yes
  • () type Mime type of the media desired.
    Required: Yes
  • () post Post object.
    Required: Yes
Definido em:
Codex:

Filters the list of media attached to the given post.





Fonte

return (array) apply_filters( 'get_attached_media', $children, $type, $post );