mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Docs: Docblock corrections and improvements, mostly related to various pre_* filters.
See #47110 git-svn-id: https://develop.svn.wordpress.org/trunk@46232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2426,19 +2426,19 @@ function wp_update_network_user_counts( $network_id = null ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the space used by the current blog.
|
||||
* Returns the space used by the current site.
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @return int Used space in megabytes
|
||||
* @return int Used space in megabytes.
|
||||
*/
|
||||
function get_space_used() {
|
||||
/**
|
||||
* Filters the amount of storage space used by the current site.
|
||||
* Filters the amount of storage space used by the current site, in megabytes.
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param int|bool $space_used The amount of used space, in megabytes. Default false.
|
||||
* @param int|false $space_used The amount of used space, in megabytes. Default false.
|
||||
*/
|
||||
$space_used = apply_filters( 'pre_get_space_used', false );
|
||||
if ( false === $space_used ) {
|
||||
|
||||
Reference in New Issue
Block a user