Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




is_upload_space_available [ WordPress Function ]

is_upload_space_available ( No parameters )
Returns:
  • (bool) True if space is available, false otherwise.
Defined at:



Determines if there is any upload space left in the current blog's quota.

Source


<?php
function is_upload_space_available() {
    if ( 
get_site_option'upload_space_check_disabled' ) )
        return 
true;

    if ( !( 
$space_allowed get_upload_space_available() ) )
        return 
false;

    return 
true;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics