display_themes() WordPress Function
The display_themes() function is used to display all available themes on a WordPress site. This function can be used to display a list of themes, or to display a single theme. If a theme is not specified, then all available themes will be displayed.
display_themes() #
Displays theme content based on theme list.
Source
File: wp-admin/includes/theme-install.php
function display_themes() { 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->display(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |