Make WordPress Core


Ignore:
Timestamp:
12/03/2013 05:05:53 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/custom-header.php

    r25769 r26556  
    1818 */
    1919function twentyfourteen_custom_header_setup() {
     20    /**
     21     * Filter Twenty Fourteen custom-header support arguments.
     22     *
     23     * @since Twenty Fourteen 1.0
     24     *
     25     * @param array $args {
     26     *     An array of custom-header support arguments.
     27     *
     28     *     @type bool   $header_text            Whether to display custom header text. Default false.
     29     *     @type int    $width                  Width in pixels of the custom header image. Default 1260.
     30     *     @type int    $height                 Height in pixels of the custom header image. Default 240.
     31     *     @type bool   $flex_height            Whether to allow flexible-height header images. Default true.
     32     *     @type string $admin_head_callback    Callback function used to style the image displayed in
     33     *                                          the Appearance > Header screen.
     34     *     @type string $admin_preview_callback Callback function used to create the custom header markup in
     35     *                                          the Appearance > Header screen.
     36     * }
     37     */
    2038    add_theme_support( 'custom-header', apply_filters( 'twentyfourteen_custom_header_args', array(
    2139        'header-text'            => false,
     
    3149if ( ! function_exists( 'twentyfourteen_admin_header_style' ) ) :
    3250/**
    33  * Style the header image displayed on the Appearance > Header admin panel.
     51 * Style the header image displayed on the Appearance > Header screen.
    3452 *
    35  * @link twentyfourteen_custom_header_setup().
     53 * @see twentyfourteen_custom_header_setup()
    3654 *
    3755 * @since Twenty Fourteen 1.0
     
    6684if ( ! function_exists( 'twentyfourteen_admin_header_image' ) ) :
    6785/**
    68  * Create the custom header image markup displayed on the Appearance > Header admin panel.
     86 * Create the custom header image markup displayed on the Appearance > Header screen.
    6987 *
    70  * @link twentyfourteen_custom_header_setup().
     88 * @see twentyfourteen_custom_header_setup()
    7189 *
    7290 * @since Twenty Fourteen 1.0
Note: See TracChangeset for help on using the changeset viewer.