This is for WordPress Plugin and Theme developers. Questo è per WordPress Plugin Tema e sviluppatori. Don’t read further if you are not one of them. Non può leggere di più se non sei uno di loro.

To get an extra argument in your filter (say for a ‘bloginfo’ filter) you have to specify not 2 but actually 4 as number of arguments in add_filter (read below for details). Per ottenere un ulteriore argomento a vostro filtro (ad esempio per un 'bloginfo' filtro) si deve specificare 2, ma non effettivamente 4 come numero di argomenti a add_filter (leggi sotto per i dettagli). The returned data are: first argument, filter name, first argument, second argument I dati restituiti sono: primo argomento, nome filtro, primo argomento, secondo argomento

BTW: One place where this function is needed is for writing ‘bloginfo’ filter. BTW: Un luogo in cui questa funzione è necessario per la scrittura di 'bloginfo' filtro. It passes two arguments - value and key. Passa due argomenti - valore e chiave.

So when I add_filter I have to write: Così quando ho add_filter devo scrivere:
add_filter(’bloginfo’, ‘my_filter’,10, 4 ); add_filter ( 'bloginfo', 'my_filter', 10, 4);
10 is the priority 10 è la priorità
4 is the argument count 4 è l'argomento count

And then I access the second argument as: E poi accedere al secondo argomento, come:
function remove_css($first_argument,$dummy,$dummy,$second_argument) funzione remove_css ($ first_argument, $ manichino, manichino $, $ second_argument)

I haven’t tried for more than 2 arguments but I suspect it will be equally funky. Non ho provato per più di 2 argomenti, ma ho il sospetto che sarà ugualmente funky. I have reopened Ho riaperto ticket 901 biglietto 901 and update the comments. e aggiornare i commenti.