SimplePie_Enclosure::get_real_type

SummerySummery

Get the real media type

Syntax

SimplePie_Enclosure::get_real_type( bool $find_handler = false )

DescriptionDescription

Often, feeds lie to us, necessitating a bit of deeper inspection. This converts types to their canonical representations based on the file extension

ParametersParameters

$find_handler

(bool) (Optional) Internal use only, use get_handler() instead

Default value: false

ReturnReturn

(string) MIME type

SourceSource

File: wp-includes/SimplePie/Enclosure.php


			

See alsoSee also

Scroll to Top