summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfifteen/inc/custom-header.php')
-rw-r--r--themes/twentyfifteen/inc/custom-header.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/themes/twentyfifteen/inc/custom-header.php b/themes/twentyfifteen/inc/custom-header.php
index 763ef00d..bf8655a7 100644
--- a/themes/twentyfifteen/inc/custom-header.php
+++ b/themes/twentyfifteen/inc/custom-header.php
@@ -16,23 +16,23 @@ function twentyfifteen_custom_header_setup() {
$color_scheme = twentyfifteen_get_color_scheme();
$default_text_color = trim( $color_scheme[4], '#' );
- /**
- * Filter Twenty Fifteen custom-header support arguments.
- *
- * @since Twenty Fifteen 1.0
- *
- * @param array $args {
- * An array of custom-header support arguments.
- *
- * @type string $default_text_color Default color of the header text.
- * @type int $width Width in pixels of the custom header image. Default 954.
- * @type int $height Height in pixels of the custom header image. Default 1300.
- * @type string $wp-head-callback Callback function used to styles the header image and text
- * displayed on the blog.
- * }
- */
add_theme_support(
'custom-header',
+ /**
+ * Filters Twenty Fifteen custom-header support arguments.
+ *
+ * @since Twenty Fifteen 1.0
+ *
+ * @param array $args {
+ * An array of custom-header support arguments.
+ *
+ * @type string $default_text_color Default color of the header text.
+ * @type int $width Width in pixels of the custom header image. Default 954.
+ * @type int $height Height in pixels of the custom header image. Default 1300.
+ * @type string $wp-head-callback Callback function used to styles the header image and text
+ * displayed on the blog.
+ * }
+ */
apply_filters(
'twentyfifteen_custom_header_args',
array(
@@ -193,7 +193,7 @@ if ( ! function_exists( 'twentyfifteen_header_style' ) ) :
</style>
<?php
}
-endif; // twentyfifteen_header_style
+endif; // twentyfifteen_header_style()
/**
* Enqueues front-end CSS for the header background color.