<html lang="it-it" dir="ltr"><head></head><body># Modifica le etichette amministrative del tipo di post Download

Puoi cambiare facilmente le etichette del tipo di post Download inserendo una semplice funzione nel file functions.php del tuo tema, o in qualsiasi plugin personalizzato. Potresti, ad esempio, voler cambiare "Download" in "Musica", o forse in "Prodotti".

L'esempio seguente cambia Download/i in Prodotto/i:

```
function set_download_labels($labels) {
    $labels = array(
        'name' =&gt; _x('Prodotti', 'post type general name', 'your-domain'),
        'singular_name' =&gt; _x('Prodotto', 'post type singular name', 'your-domain'),
        'add_new' =&gt; __('Aggiungi Nuovo', 'your-domain'),
        'add_new_item' =&gt; __('Aggiungi Nuovo Prodotto', 'your-domain'),
        'edit_item' =&gt; __('Modifica Prodotto', 'your-domain'),
        'new_item' =&gt; __('Nuovo Prodotto', 'your-domain'),
        'all_items' =&gt; __('Tutti i Prodotti', 'your-domain'),
        'view_item' =&gt; __('Visualizza Prodotto', 'your-domain'),
        'search_items' =&gt; __('Cerca Prodotti', 'your-domain'),
        'not_found' =&gt;  __('Nessun Prodotto trovato', 'your-domain'),
        'not_found_in_trash' =&gt; __('Nessun Prodotto trovato nel cestino', 'your-domain'), 
        'parent_item_colon' =&gt; '',
        'menu_name' =&gt; __('Prodotti', 'your-domain'),
        'featured_image'        =&gt; __( 'Immagine %1$s', 'easy-digital-downloads' ),
        'set_featured_image'    =&gt; __( 'Imposta immagine %1$s', 'easy-digital-downloads' ),
        'remove_featured_image' =&gt; __( 'Rimuovi immagine %1$s', 'easy-digital-downloads' ),
        'use_featured_image'    =&gt; __( 'Usa come immagine %1$s', 'easy-digital-downloads' ),
    );
    return $labels;
}
add_filter('edd_download_labels', 'set_download_labels');
```</body></html>