Filters the list of header image attributes.
$attr, $header
Sortie :
@param array $attr Array of the attributes for the image tag. @param object $header The custom header object returned by 'get_custom_header()'.
// Modifier la valeur avec le filtre 'get_header_image_tag_attributes'
add_filter('get_header_image_tag_attributes', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($attr) {
// Modifier la valeur
return $attr;
}
Chargement des actualités...