get_space_allowed WordPress Filter Hook
The get_space_allowed hook is used to determine the amount of storage space that is allowed for a particular user. This hook is useful for creating a custom storage quota for a specific user or group of users.
apply_filters( 'get_space_allowed', int $space_allowed ) #
Filters the upload quota for the current site.
Parameters
- $space_allowed
(int)Upload quota in megabytes for the current blog.
Source
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |