Filters the value of the attachment's image tag class attribute.
$class, $id, $align, $size
Sortie :
@param string $class CSS class name or space-separated list of classes. @param int $id Attachment ID. @param string $align Part of the class name for aligning the image. @param string|int[] $size Requested image size. Can be any registered image size name, or
// Modifier la valeur avec le filtre 'get_image_tag_class'
add_filter('get_image_tag_class', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($class) {
// Modifier la valeur
return $class;
}
Chargement des actualités...