get_attached_media

get_attached_media

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_attached_media') is found 1 times:

  • /wp-includes/media.php line 5154
    	 * @param WP_Post[] $children Array of media attached to the given post.
    	 * @param string    $type     Mime type of the media desired.
    	 * @param WP_Post   $post     Post object.
    	 */
    	return (array) apply_filters( 'get_attached_media', $children, $type, $post );
    }
    
    /**
     * Checks the HTML content for an audio, video, object, embed, or iframe tags.
     *
     * @since 3.6.0