diff --git src/wp-includes/media.php src/wp-includes/media.php
index a996565..5ab7537 100644
|
|
function get_attached_media( $type, $post = 0 ) { |
3221 | 3221 | function get_media_embedded_in_content( $content, $types = null ) { |
3222 | 3222 | $html = array(); |
3223 | 3223 | |
| 3224 | /** |
| 3225 | * Filter the embedded media types that are allowed to be returned from the content blob. |
| 3226 | * |
| 3227 | * @since 4.2.0 |
| 3228 | * |
| 3229 | * @param array $allowed_media_types An array of allowed media types. |
| 3230 | */ |
3224 | 3231 | $allowed_media_types = apply_filters( 'get_media_embedded_in_content_allowed', array( 'audio', 'video', 'object', 'embed', 'iframe' ) ); |
3225 | 3232 | |
3226 | 3233 | if ( ! empty( $types ) ) { |