wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_attached_media › WordPress Filter Hooks

Seit3.6.0
Veraltetn/v
apply_filters( 'get_attached_media', $children, $type, $post )
Parameter: (3)
  • () children Array of media attached to the given post.
    Erforderlich: Ja
  • () type Mime type of the media desired.
    Erforderlich: Ja
  • () post Post object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the list of media attached to the given post.





Quellcode

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