Filters the HTML returned by the oEmbed provider.
$this->data2html( $data, $url
Sortie :
@param string|false $data The returned oEmbed HTML (false if unsafe). @param string $url URL of the content to be embedded. @param string|array $args Optional. Additional arguments for retrieving embed HTML.
// Modifier la valeur avec le filtre 'oembed_result'
add_filter('oembed_result', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($this->data2html( $data) {
// Modifier la valeur
return $this->data2html( $data;
}
Chargement des actualités...