- Timestamp:
- 07/01/2020 01:50:28 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/custom-header.php
r47122 r48264 17 17 function twentyseventeen_custom_header_setup() { 18 18 19 /**20 * Filter Twenty Seventeen custom-header support arguments.21 *22 * @since Twenty Seventeen 1.023 *24 * @param array $args {25 * An array of custom-header support arguments.26 *27 * @type string $default-image Default image of the header.28 * @type int $width Width in pixels of the custom header image. Default 954.29 * @type int $height Height in pixels of the custom header image. Default 1300.30 * @type string $flex-height Flex support for height of header.31 * @type string $video Video support for header.32 * @type string $wp-head-callback Callback function used to styles the header image and text33 * displayed on the blog.34 * }35 */36 19 add_theme_support( 37 20 'custom-header', 21 /** 22 * Filter Twenty Seventeen custom-header support arguments. 23 * 24 * @since Twenty Seventeen 1.0 25 * 26 * @param array $args { 27 * An array of custom-header support arguments. 28 * 29 * @type string $default-image Default image of the header. 30 * @type int $width Width in pixels of the custom header image. Default 954. 31 * @type int $height Height in pixels of the custom header image. Default 1300. 32 * @type string $flex-height Flex support for height of header. 33 * @type string $video Video support for header. 34 * @type string $wp-head-callback Callback function used to styles the header image and text 35 * displayed on the blog. 36 * } 37 */ 38 38 apply_filters( 39 39 'twentyseventeen_custom_header_args',
Note: See TracChangeset
for help on using the changeset viewer.