Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:21:46 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

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

    r46603 r46660  
    19741974
    19751975/**
    1976  * Retrieve any registered editor stylesheets
     1976 * Retrieve any registered editor stylesheet URLs.
    19771977 *
    19781978 * @since 4.0.0
     
    19801980 * @global array $editor_styles Registered editor stylesheets
    19811981 *
    1982  * @return array If registered, a list of editor stylesheet URLs.
     1982 * @return string[] If registered, a list of editor stylesheet URLs.
    19831983 */
    19841984function get_editor_stylesheets() {
     
    20202020
    20212021    /**
    2022      * Filters the array of stylesheets applied to the editor.
     2022     * Filters the array of URLs of stylesheets applied to the editor.
    20232023     *
    20242024     * @since 4.3.0
    20252025     *
    2026      * @param array $stylesheets Array of stylesheets to be applied to the editor.
     2026     * @param string[] $stylesheets Array of URLs of stylesheets to be applied to the editor.
    20272027     */
    20282028    return apply_filters( 'editor_stylesheets', $stylesheets );
Note: See TracChangeset for help on using the changeset viewer.