wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_attached_media › Filtr WordPress Hooks

Od3.6.0
Przestarzałyn/a
› apply_filters( 'get_attached_media', $children, $type, $post )
Parametry: (3)
  • () children Array of media attached to the given post.
    Wymagane: Tak
  • () type Mime type of the media desired.
    Wymagane: Tak
  • () post Post object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the list of media attached to the given post.





Źródło

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