upload_space_setting()
upload_space_setting( int $id ) 在“编辑站点设置”屏幕上显示“站点上载空间配额…
upload_space_setting( int $id )
在“编辑站点设置”屏幕上显示“站点上载空间配额设置”窗体。
Displays the site upload space quota setting form on the Edit Site Settings screen.
在“编辑站点设置”屏幕上显示“站点上载空间配额设置”窗体。
Displays the site upload space quota setting form on the Edit Site Settings screen.
目录锚点:#参数#源码
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $id | (int) | 要显示其设置的站点的ID。 |
源码(Source)
/**
* Displays the edit blog upload space setting form on the Edit Blog screen.
*
* @since 3.0.0
*
* @param int $id The ID of the blog to display the setting for.
*/
function upload_space_setting( $id ) {
switch_to_blog( $id );
$quota = get_option( 'blog_upload_space' );
restore_current_blog();
if ( !$quota )
$quota = '';
?>| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 3.0.0 | wp-admin/includes/ms.php | 2 | 7 |
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





还没有任何评论,赶紧来占个楼吧!