themes_api_result

过滤钩子


apply_filters( 'themes_api_result', $res, $action, $args )
参数
  • (array|stdClass|WP_Error)
    $res
    WordPress.org Themes API response.
    Required:
  • (string)
    $action
    Requested action. Likely values are ‘theme_information’,
    ‘feature_list’, or ‘query_themes’.
    Required:
  • (stdClass)
    $args
    Arguments used to query for installer pages from the WordPress.org Themes API.
    Required:
定义位置
  • wp-admin/includes/theme.php
    , line 630
引入
2.8.0
弃用

Filters the returned WordPress.org Themes API response.

return apply_filters( 'themes_api_result', $res, $action, $args );