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.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More