get_space_allowed

過濾鉤子
apply_filters( 'get_space_allowed', $space_allowed )
引數
  • (int) $space_allowed Upload quota in megabytes for the current blog.
    Required:
定義位置
相關勾子
pre_get_space_usedget_calendarfile_mod_allowedget_page_linkwidget_update_callback
相關方法
get_space_allowedget_space_usedget_site_allowed_themesrest_send_allow_headerget_upload_space_availableget_allowed_themes
引入
3.7.0
棄用
-

get_space_allowed函式返回多站點網路中某一站點可用的總磁碟空間。

過濾當前站點的上載配額。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters( 'get_space_allowed', $space_allowed );
return apply_filters( 'get_space_allowed', $space_allowed );
return apply_filters( 'get_space_allowed', $space_allowed );

常見問題

FAQs
檢視更多 >