mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP.
See #36913. git-svn-id: https://develop.svn.wordpress.org/trunk@37488 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -311,7 +311,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
* Retrieves theme installer pages from the WordPress.org Themes API.
|
||||
*
|
||||
* It is possible for a theme to override the Themes API result with three
|
||||
* filters. Assume this is for themes, which can extend on the Theme Info to
|
||||
* Filterss. Assume this is for themes, which can extend on the Theme Info to
|
||||
* offer more choices. This is very powerful and must be used with care, when
|
||||
* overriding the filters.
|
||||
*
|
||||
@@ -403,7 +403,7 @@ function themes_api( $action, $args = array() ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter arguments used to query for installer pages from the WordPress.org Themes API.
|
||||
* Filters arguments used to query for installer pages from the WordPress.org Themes API.
|
||||
*
|
||||
* Important: An object MUST be returned to this filter.
|
||||
*
|
||||
@@ -416,7 +416,7 @@ function themes_api( $action, $args = array() ) {
|
||||
$args = apply_filters( 'themes_api_args', $args, $action );
|
||||
|
||||
/**
|
||||
* Filter whether to override the WordPress.org Themes API.
|
||||
* Filters whether to override the WordPress.org Themes API.
|
||||
*
|
||||
* Passing a non-false value will effectively short-circuit the WordPress.org API request.
|
||||
*
|
||||
@@ -462,7 +462,7 @@ function themes_api( $action, $args = array() ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the returned WordPress.org Themes API response.
|
||||
* Filters the returned WordPress.org Themes API response.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
@@ -488,7 +488,7 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
$current_theme = get_stylesheet();
|
||||
|
||||
/**
|
||||
* Filter theme data before it is prepared for JavaScript.
|
||||
* Filters theme data before it is prepared for JavaScript.
|
||||
*
|
||||
* Passing a non-empty array will result in wp_prepare_themes_for_js() returning
|
||||
* early with that value instead.
|
||||
@@ -574,7 +574,7 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the themes prepared for JavaScript, for themes.php.
|
||||
* Filters the themes prepared for JavaScript, for themes.php.
|
||||
*
|
||||
* Could be useful for changing the order, which is by name by default.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user