display_theme()
display_theme( object $theme ) 在“安装主题”页上打印主题。Prints a t…
display_theme( object $theme )
在“安装主题”页上打印主题。
Prints a theme on the Install Themes pages.
目录锚点:#参数#返回#源码
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| $theme | (object) | 必需 |
返回(Return)
无返回值
源码(Source)
function display_theme( $theme ) {
_deprecated_function( __FUNCTION__, '3.4.0' );
global $wp_list_table;
if ( ! isset( $wp_list_table ) ) {
$wp_list_table = _get_list_table( 'WP_Theme_Install_List_Table' );
}
$wp_list_table->prepare_items();
$wp_list_table->single_row( $theme );
}
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 3.4.0 | wp-admin/includes/theme-install.php:201 | 0 | 4 |
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





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