filtrod 4.4.0
export_wp_filename
Opis — z kodu źródłowego
Filters the export filename.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$wp_filename | string | The name of the file for download. |
$sitename | string | The site name. |
$date | string | Today's date, formatted. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'export_wp_filename', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'export_wp_filename', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii