wp-admin/includes/theme-install.php


Lines:

1 to 67 of 67
<?php

/**
 * WordPress Theme Installation Administration API
 *
 * @package WordPress
 * @subpackage Administration
 */

$themes_allowedtags = array(
  'a'       => array(
    'href'   => array(),
    'title'  => array(),
    'target' => array(),
  ),
  'abbr'    => array( 'title' => array() ),
  'acronym' => array( 'title' => array() ),
  'code'    => array(),
  'pre'     => array(),
  'em'      => array(),
  'strong'  => array(),
  'div'     => array(),
  'p'       => array(),
  'ul'      => array(),
  'ol'      => array(),
  'li'      => array(),
  'h1'      => array(),
  'h2'      => array(),
  'h3'      => array(),
  'h4'      => array(),
  'h5'      => array(),
  'h6'      => array(),
  'img'     => array(
    'src'   => array(),
    'class' => array(),
    'alt'   => array(),
  ),
);

$theme_field_defaults = array(
  'description'  => true,
  'sections'     => false,
  'tested'       => true,
  'requires'     => true,
  'rating'       => true,
  'downloaded'   => true,
  'downloadlink' => true,
  'last_updated' => true,
  'homepage'     => true,
  'tags'         => true,
  'num_ratings'  => true,
);

/* function install_themes_feature_list() – Retrieve list of WordPress theme features (aka theme tags). */

/* function install_theme_search_form() – Display search form for searching themes. */

/* function install_themes_dashboard() – Display tags filter for themes. */

/* function install_themes_upload() – */

/* function display_theme() – Prints a theme on the Install Themes pages. */

/* function display_themes() – Display theme content based on theme list. */

/* function install_theme_information() – Display theme information in dialog box form. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,