Filters the embed HTML output for a given post.
$output, $post, $width, $height
Sortie :
@param string $output The default iframe tag to display embedded content. @param WP_Post $post Current post object. @param int $width Width of the response. @param int $height Height of the response.
// Modifier la valeur avec le filtre 'embed_html'
add_filter('embed_html', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($output) {
// Modifier la valeur
return $output;
}
Chargement des actualités...