get_space_allowed [ WordPress Function ]
get_space_allowed ( No parameters )
| Returns: |
|
| Defined at: |
|
Benzer Fonksiyonlar: get_site_allowed_themes, get_upload_space_available, get_allowed_themes, get_calendar, get_enclosed
Returns the upload quota for the current blog.
Source
<?php
function get_space_allowed() {
$space_allowed = get_option( 'blog_upload_space' );
if ( ! is_numeric( $space_allowed ) )
$space_allowed = get_site_option( 'blog_upload_space' );
if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) )
$space_allowed = 50;
return $space_allowed;
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/get space allowed « WordPress Codex
Function Reference/get space allowed. Source File. get_space_allowed() is located in wp-admin/includes/ms.php . See also index of Function Reference and ...
codex.wordpress.org - get_space_allowed (WordPress Function) - WPSeek.com
WordPress lookup for get_space_allowed, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - get_space_allowed | A HitchHackers guide through WordPress
Feb 12, 2011 ... function get_space_allowed() { $space_allowed = get_option( ' blog_upload_space' ); if ( $space_allowed == false ) $space_allowed ...
hitchhackerguide.com - PHPXRef 0.7 : WordPress : /wp-admin/includes/ms.php source
'0' ) // there's already an error 23 return $file; 24 25 if ( defined( 'WP_IMPORTING' ) ) 26 return $file; 27 28 $space_allowed = 1048576 * get_space_allowed(); ...
phpxref.ftwr.co.uk