Filters the playlist output. Returning a non-empty value from the filter will short-circuit generation of the default playlist output, returning the passed value instead.
$url
Sortie :
@param string $output Playlist output. Default empty. @param array $attr An array of shortcode attributes. @param int $instance Unique numeric ID of this playlist shortcode instance. @param string $type Type of playlist. Possible values are 'audio' or 'video'. @param string $style The 'theme' for the playlist. Core provides 'light' and 'dark'. @param string $url The media element URL. @return string Fallback HTML.
// Utilisation de la fonction wp_mediaelement_fallback
$result = wp_mediaelement_fallback($url);
if ($result) {
// Votre logique ici
}
Chargement des actualités...