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:
John Blackbourn
2019-09-21 17:40:58 +00:00
parent 144c5f760d
commit 6bd7097626
18 changed files with 111 additions and 110 deletions
+4 -4
View File
@@ -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 ) {