[ Index ]

PHP Cross Reference of WordPress

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: 569 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

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.

since: 3.1.0

display_rows()   X-Ref
No description

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

param: stdClass $theme {
since: 3.1.0

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.
since: 3.4.0

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

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



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1