filtrod 3.7.0
get_space_allowed
Opis — z kodu źródłowego
Filters the upload quota for the current site.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$space_allowed | int | Upload quota in megabytes for the current blog. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'get_space_allowed', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'get_space_allowed', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}