- Timestamp:
- 07/01/2020 01:50:28 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/custom-header.php
r47219 r48264 18 18 */ 19 19 function twentyfourteen_custom_header_setup() { 20 /**21 * Filter Twenty Fourteen custom-header support arguments.22 *23 * @since Twenty Fourteen 1.024 *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 in33 * the Appearance > Header screen.34 * @type string $admin_preview_callback Callback function used to create the custom header markup in35 * the Appearance > Header screen.36 * }37 */38 20 add_theme_support( 39 21 'custom-header', 22 /** 23 * Filter Twenty Fourteen custom-header support arguments. 24 * 25 * @since Twenty Fourteen 1.0 26 * 27 * @param array $args { 28 * An array of custom-header support arguments. 29 * 30 * @type bool $header_text Whether to display custom header text. Default false. 31 * @type int $width Width in pixels of the custom header image. Default 1260. 32 * @type int $height Height in pixels of the custom header image. Default 240. 33 * @type bool $flex_height Whether to allow flexible-height header images. Default true. 34 * @type string $admin_head_callback Callback function used to style the image displayed in 35 * the Appearance > Header screen. 36 * @type string $admin_preview_callback Callback function used to create the custom header markup in 37 * the Appearance > Header screen. 38 * } 39 */ 40 40 apply_filters( 41 41 'twentyfourteen_custom_header_args',
Note: See TracChangeset
for help on using the changeset viewer.