[ Root ] [ Search ] [ Index ]

PHP Cross Reference of WordPress 3.0.1

Provided by Yoast

title

Body

[close]

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

WordPress Theme Administration API

File Size: 253 lines (8 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 2 files
 wp-admin/admin-header.php
 wp-admin/admin-footer.php

Defines 7 functions

  current_theme_info()
  delete_theme()
  get_broken_themes()
  get_allowed_themes()
  get_page_templates()
  _get_template_edit_filename()
  theme_update_available()

Functions
Functions that are not part of a class:

current_theme_info()   X-Ref
{@internal Missing Short Description}}

return: unknown

delete_theme($template)   X-Ref
Remove a theme

param: string $template Template directory of the theme to delete
return: mixed

get_broken_themes()   X-Ref
{@internal Missing Short Description}}

return: unknown

get_allowed_themes()   X-Ref
Get the allowed themes for the current blog.

return: array $themes Array of allowed themes.

get_page_templates()   X-Ref
Get the Page Templates available in this theme

return: array Key is template name, Value is template name

_get_template_edit_filename($fullpath, $containingfolder)   X-Ref
Tidies a filename for url display by the theme editor.

param: string $fullpath Full path to the theme file
param: string $containingfolder Path of the theme parent folder
return: string

theme_update_available( $theme )   X-Ref
Check if there is an update for a theme available.

Will display link, if there is an update available.

param: object $theme Theme data object.
return: bool False if no valid info was passed.



Generated: Thu Oct 14 05:12:05 2010 Cross-referenced by PHPXref 0.7