[ Index ]

PHP Cross Reference of Wordpress 2.9.1

title

Body

[close]

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

WordPress Theme Install Administration API

File Size: 547 lines (21 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 12 functions

  themes_api()
  install_themes_feature_list()
  install_theme_search()
  install_theme_search_form()
  install_themes_dashboard()
  install_themes_featured()
  install_themes_new()
  install_themes_updated()
  install_themes_upload()
  display_theme()
  display_themes()
  install_theme_information()

Functions
Functions that are not part of a class:

themes_api($action, $args = null)   X-Ref
Retrieve theme installer pages from WordPress Themes API.

It is possible for a theme to override the Themes API result with three
filters. Assume this is for themes, which can extend on the Theme Info to
offer more choices. This is very powerful and must be used with care, when
overridding the filters.

The first filter, 'themes_api_args', is for the args and gives the action as
the second parameter. The hook for 'themes_api_args' must ensure that an
object is returned.

The second filter, 'themes_api', is the result that would be returned.

param: string $action
param: array|object $args Optional. Arguments to serialize for the Theme Info API.
return: mixed

install_themes_feature_list( )   X-Ref
Retrieve list of WordPress theme features (aka theme tags)

return: array

install_theme_search($page)   X-Ref
Display theme search results

param: string $page

install_theme_search_form()   X-Ref
Display search form for searching themes.


install_themes_dashboard()   X-Ref
Display tags filter for themes.


install_themes_featured($page = 1)   X-Ref
Display featured themes.

param: string $page

install_themes_new($page = 1)   X-Ref
Display new themes/

param: string $page

install_themes_updated($page = 1)   X-Ref
Display recently updated themes.

param: string $page

install_themes_upload($page = 1)   X-Ref
No description

display_theme($theme, $actions = null, $show_details = true)   X-Ref
No description

display_themes($themes, $page = 1, $totalpages = 1)   X-Ref
Display theme content based on theme list.

param: array $themes List of themes.
param: string $page
param: int $totalpages Number of pages.

install_theme_information()   X-Ref
Display theme information in dialog box form.




Generated: Fri Jan 8 00:19:48 2010 Cross-referenced by PHPXref 0.7