WordPress.org

Make WordPress Core

Changeset 37209


Ignore:
Timestamp:
04/15/2016 01:42:11 AM (2 years ago)
Author:
johnbillion
Message:

Docs: Clarify possible types passed to the themes_api_result filter.

See #32246

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/theme.php

    r37203 r37209  
    480480     * @since 2.8.0
    481481     *
    482      * @param array|object $res    WordPress.org Themes API response.
    483      * @param string       $action Requested action. Likely values are 'theme_information',
    484      *                             'feature_list', or 'query_themes'.
    485      * @param object       $args   Arguments used to query for installer pages from the WordPress.org Themes API.
     482     * @param array|object|WP_Error $res    WordPress.org Themes API response.
     483     * @param string                $action Requested action. Likely values are 'theme_information',
     484     *                                      'feature_list', or 'query_themes'.
     485     * @param object                $args   Arguments used to query for installer pages from the WordPress.org Themes API.
    486486     */
    487487    return apply_filters( 'themes_api_result', $res, $action, $args );
Note: See TracChangeset for help on using the changeset viewer.