diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 406fa4a310..11d488e030 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -17,14 +17,17 @@ * @global array $wp_theme_directories * @staticvar array $_themes * - * @param array $args The search arguments. Optional. - * - errors mixed True to return themes with errors, false to return themes without errors, null - * to return all themes. Defaults to false. - * - allowed mixed (Multisite) True to return only allowed themes for a site. False to return only - * disallowed themes for a site. 'site' to return only site-allowed themes. 'network' - * to return only network-allowed themes. Null to return all themes. Defaults to null. - * - blog_id int (Multisite) The blog ID used to calculate which themes are allowed. Defaults to 0, - * synonymous for the current blog. + * @param array $args { + * Optional. The search arguments. + * + * @type mixed $errors True to return themes with errors, false to return themes without errors, null to return all themes. + * Defaults to false. + * @type mixed $allowed (Multisite) True to return only allowed themes for a site. False to return only disallowed themes for a site. + * 'site' to return only site-allowed themes. 'network' to return only network-allowed themes. + * Null to return all themes. Defaults to null. + * @type int $blog_id (Multisite) The blog ID used to calculate which themes are allowed. + * Defaults to 0, synonymous for the current blog. + * } * @return array Array of WP_Theme objects. */ function wp_get_themes( $args = array() ) {