WordPress.org

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

WordPress.org API

WordPress.org API's is a set of API's on WordPress.org web site.

Secret Key

Secret key generator for wp-config.php.

Stats

Stats about the systems websites are running WordPress on.

Version Check

WordPress Version Checker.

Credits

Details about the various individuals who contribute to the WordPress code base. Used in Credits Screen.

Translations

Available translations.

Themes

v1.0 will return its content serialized, v1.1 as a JSON object.

Parameter:

$action
(string) (required) Possible actions are:
  • query_themes - A a list of themes.
  • theme_information - Information about a specific theme.
  • hot_tags - List of the most popular theme tags.
  • feature_list - List of valid theme tags.
Default: None
$request
(array) (optional) Arguments to alter the output of this endpoint.
Default: empty

The arguments outlined for each endpoint should be passed in the $request parameter.

List of Themes

Returns a list of themes with their associated information, as well as meta information about the request.

$action
(string) (required) query_themes
Default: None

Arguments:

page
(int) (optional)
Default: 1
per_page
(int) (optional) Amount of themes per page.
Default: null
browse
(string) (optional) Predefined queries, disregarding all subsequent arguments. Possible values are:
  • popular - Themes ordered by popularity.
  • featured - Set of featured themes.
  • updated - Recently updated themes.
  • new - Latest themes.
Default: null
tag
(array|string) (optional) Filter to return themes with a specified tag or set of tags.
Default: null
search
(string) (optional) Search query.
Default: null
theme
(string) (optional) Slug of a specific theme to return.
Default: null
author
(string) (optional) WordPress.org username of the author. Filter to return only themes authored by them.
Default: null
fields
(array) (optional) Theme information to return. Associative array with field names as keys and a boolean whether to include that field or not, as value.
Default:
  • description - false
  • sections - false
  • rating - true
  • ratings - false
  • downloaded - true
  • downloadlink - true
  • last_updated - true
  • homepage - true
  • tags - true
  • template - true
  • parent - false
  • versions - false
  • screenshot_url - true

  • Theme Information

    Returns information about a specific theme.

    $action
    (string) (required) theme_information
    Default: None

    Arguments:

    slug
    (string) (null) Slug of a specific theme to return.
    Default: None
    fields
    (array) (optional) Theme information to return. Associative array with field names as keys and a boolean whether to include that field or not, as value.
    Default:
  • description - false
  • sections - false
  • rating - true
  • ratings - false
  • downloaded - true
  • downloadlink - true
  • last_updated - true
  • homepage - true
  • tags - true
  • template - true
  • parent - false
  • versions - false
  • screenshot_url - true

  • Popular theme tags

    Returns a list of the most popular theme tags.

    $action
    (string) (required) hot_tags
    Default: None

    Arguments:

    number
    (int) (optional) The amount of tags to return.
    Default: -1 (all tags)

    Feature list

    Returns a list of valid theme tags.

    $action
    (string) (required) feature_list
    Default: None

    Update Check

    Plugins

    Note: Some docs on this api can be found here: http://dd32.id.au/projects/wordpressorg-plugin-information-api-docs/

    Example: Basic Example of getting total download count of a plugin - http://wp.tutsplus.com/tutorials/plugins/communicating-with-the-wordpress-org-plugin-api/

    Popular Import Plugin

    List of popular import plugins in the WordPress Plugin Directory used by Tools → Import Screen.

    Checksum

    Returns a JSON encoded array of file MD5 checksums for a given WordPress release / locale. Although english is the default, it's suggested to pass it for 100% compatibility with core.

    Editor

    Used by the theme and plugin editor to get a reference to documentation generated with phpDocumentor.