[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/includes/ -> class-wp-theme-install-list-table.php (summary)

List Table API: WP_Theme_Install_List_Table class

File Size: 574 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 wp-admin/includes/theme-install.php

Defines 1 class

WP_Theme_Install_List_Table:: (12 methods):
  ajax_user_can()
  prepare_items()
  no_items()
  get_views()
  display()
  display_rows()
  single_row()
  theme_installer()
  theme_installer_single()
  install_theme_info()
  _js_vars()
  _get_theme_status()


Class: WP_Theme_Install_List_Table  - X-Ref

Core class used to implement displaying themes to install in a list table.

ajax_user_can()   X-Ref

return: bool

prepare_items()   X-Ref


no_items()   X-Ref
No description

get_views()   X-Ref

return: array

display()   X-Ref
Displays the theme install table.

Overrides the parent display() method to provide a different container.


display_rows()   X-Ref
Generates the list table rows.


single_row( $theme )   X-Ref
Prints a theme from the WordPress.org API.

param: stdClass $theme {

theme_installer()   X-Ref
Prints the wrapper for the theme installer.


theme_installer_single( $theme )   X-Ref
Prints the wrapper for the theme installer with a provided theme's data.
Used to make the theme installer work for no-js.

param: stdClass $theme A WordPress.org Theme API object.

install_theme_info( $theme )   X-Ref
Prints the info for a theme (to be used in the theme installer modal).

param: stdClass $theme A WordPress.org Theme API object.

_js_vars( $extra_args = array()   X-Ref
Send required variables to JavaScript land

param: array $extra_args Unused.

_get_theme_status( $theme )   X-Ref
Checks to see if the theme is already installed.

return: string Theme status.
param: stdClass $theme A WordPress.org Theme API object.



Generated : Tue Dec 3 08:20:01 2024 Cross-referenced by PHPXref