Definition:
function get_space_allowed() {}
Returns the upload quota for the current blog.
Return values
returns:Quota
Source code
function get_space_allowed() { $space_allowed = get_option( 'blog_upload_space' ); if ( $space_allowed == false ) $space_allowed = get_site_option( 'blog_upload_space' ); if ( empty( $space_allowed ) || !is_numeric( $space_allowed ) ) $space_allowed = 50; return $space_allowed; }
1703
No comments yet... Be the first to leave a reply!