diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 235990997a..b69b328d13 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -3229,7 +3229,7 @@ function get_media_embedded_in_content( $content, $types = null ) { * @param array $allowed_media_types An array of allowed media types. Default media types are * 'audio', 'video', 'object', 'embed', and 'iframe'. */ - $allowed_media_types = apply_filters( 'get_media_embedded_in_content_allowed', array( 'audio', 'video', 'object', 'embed', 'iframe' ) ); + $allowed_media_types = apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' ) ); if ( ! empty( $types ) ) { if ( ! is_array( $types ) ) {