filtrod 2.5.0
wp_sprintf_l
Opis — z kodu źródłowego
Filters the translated delimiters used by wp_sprintf_l().
Placeholders (%s) are included to assist translators and then removed before the array of strings reaches the filter. Please note: Ampersands and entities should be avoided here.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$delimiters | array | An array of translated delimiters. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_sprintf_l', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_sprintf_l', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii