A WordPress-centric search engine for devs and theme authors



get_attached_media_args ›

Since3.6.0
Deprecatedn/a
apply_filters( 'get_attached_media_args', $args, $type, $post )
Parameters: (3)
  • (array) $args Post query arguments.
    Required: Yes
  • (string) $type Mime type of the desired media.
    Required: Yes
  • (mixed) $post Post ID or object.
    Required: Yes
Defined at:
Codex:

Filters arguments used to retrieve media attached to the given post.





Source

$args = apply_filters( 'get_attached_media_args', $args, $type, $post );