On this page
display_theme( object $theme )
This function has been deprecated.
Prints a theme on the Install Themes pages.
Parameters
$themeobject Required
Source
File: wp-admin/includes/theme-install.php. View all references
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 );
}
Related
Uses
| Uses | Description |
|---|---|
| WP_List_Table::single_row() wp-admin/includes/class-wp-list-table.php | Generates content for a single row of the table. |
| WP_List_Table::prepare_items() wp-admin/includes/class-wp-list-table.php | Prepares the list of items for displaying. |
| _get_list_table() wp-admin/includes/list-table.php | Fetches an instance of a WP_List_Table class. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/display_theme