Make WordPress Core


Ignore:
Timestamp:
05/03/2023 06:46:44 PM (21 months ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to docblocks for global styles, global settings, theme.json parsing, and shortcodes.

See #57840

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/global-styles-and-settings.php

    r55192 r55711  
    2222 *                              If empty or unknown, 'all' is used.
    2323 * }
    24  * @return array The settings to retrieve.
     24 * @return mixed The settings array or individual setting value to retrieve.
    2525 */
    2626function wp_get_global_settings( $path = array(), $context = array() ) {
     
    105105 *                              If empty or unknown, 'all' is used.
    106106 * }
    107  * @return array The styles to retrieve.
     107 * @return mixed The styles array or individual style value to retrieve.
    108108 */
    109109function wp_get_global_styles( $path = array(), $context = array() ) {
     
    227227
    228228/**
    229  * Gets the global styles custom css from theme.json.
     229 * Gets the global styles custom CSS from theme.json.
    230230 *
    231231 * @since 6.2.0
    232232 *
    233  * @return string Stylesheet.
     233 * @return string The global styles custom CSS.
    234234 */
    235235function wp_get_global_styles_custom_css() {
Note: See TracChangeset for help on using the changeset viewer.