Filters the default audio shortcode output. If the filtered output isn't empty, it will be used instead of generating the default audio template.
'', $attr, $content, $instance
Sortie :
@param string $html Empty variable to be replaced with shortcode markup.
@param array $attr Attributes of the shortcode. See {@see wp_audio_shortcode()}.
@param string $content Shortcode content.
@param int $instance Unique numeric ID of this audio shortcode instance.
// Modifier la valeur avec le filtre 'wp_audio_shortcode_override'
add_filter('wp_audio_shortcode_override', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre('') {
// Modifier la valeur
return '';
}
Chargement des actualités...