get_space_allowed хук-фильтр . WP 3.7.0
Filters the upload quota for the current site.
Использование
add_filter( 'get_space_allowed', 'filter_function_name_2240' ); function filter_function_name_2240( $space_allowed ){ // filter... return $space_allowed; }
- $space_allowed(число)
- Upload quota in megabytes for the current blog.
Список изменений
С версии 3.7.0 | Введена. |
Где вызывается хук
get_space_allowed
wp-includes/ms-functions.php 2666
return apply_filters( 'get_space_allowed', $space_allowed );