Changeset 42640
- Timestamp:
- 02/02/2018 09:37:47 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r42343 r42640 18 18 * @staticvar array $_themes 19 19 * 20 * @param array $args The search arguments. Optional. 21 * - errors mixed True to return themes with errors, false to return themes without errors, null 22 * to return all themes. Defaults to false. 23 * - allowed mixed (Multisite) True to return only allowed themes for a site. False to return only 24 * disallowed themes for a site. 'site' to return only site-allowed themes. 'network' 25 * to return only network-allowed themes. Null to return all themes. Defaults to null. 26 * - blog_id int (Multisite) The blog ID used to calculate which themes are allowed. Defaults to 0, 27 * synonymous for the current blog. 20 * @param array $args { 21 * Optional. The search arguments. 22 * 23 * @type mixed $errors True to return themes with errors, false to return themes without errors, null to return all themes. 24 * Defaults to false. 25 * @type mixed $allowed (Multisite) True to return only allowed themes for a site. False to return only disallowed themes for a site. 26 * 'site' to return only site-allowed themes. 'network' to return only network-allowed themes. 27 * Null to return all themes. Defaults to null. 28 * @type int $blog_id (Multisite) The blog ID used to calculate which themes are allowed. 29 * Defaults to 0, synonymous for the current blog. 30 * } 28 31 * @return array Array of WP_Theme objects. 29 32 */
Note: See TracChangeset
for help on using the changeset viewer.