filtrod 2.6.0
filesystem_method_file
Opis — z kodu źródłowego
Filters the path for a specific filesystem method class file.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$path | string | Path to the specific filesystem method class file. |
$method | string | The filesystem method to use. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'filesystem_method_file', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'filesystem_method_file', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii