Filter: dt_set_media_args

apply_filters( 'dt_set_media_args', $args, $post_id, $media ) → {array}

Allow filtering of the set_media args.

Parameters:
Name Type Description
$args array

List of args.

$post_id int

Post ID.

$media array

Array of media posts.

Since:
  • 1.6.0
Source:
Returns:

set_media args.

Type
array