filtrod 4.7.0
smilies
Opis — z kodu źródłowego
Filters all the smilies.
This filter must be added before smilies_init is run, as it is normally only run once to setup the smilies regex.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$wpsmiliestrans | string[] | List of the smilies' hexadecimal representations, keyed by their smily code. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'smilies', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'smilies', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii