Add pluggable function wrappers to inc/custom-header.php
This commit is contained in:
parent
3083096ef7
commit
acd630fcfa
|
@ -5,7 +5,10 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
function understrap_custom_header_setup() {
|
||||
add_action( 'after_setup_theme', 'understrap_custom_header_setup' );
|
||||
|
||||
if ( ! function_exists ( 'understrap_custom_header_setup' ) ) {
|
||||
function understrap_custom_header_setup() {
|
||||
|
||||
/**
|
||||
* Filter UnderStrap custom-header support arguments.
|
||||
|
@ -38,5 +41,5 @@ function understrap_custom_header_setup() {
|
|||
'description' => __( 'Default Header Image', 'understrap' ),
|
||||
),
|
||||
) );
|
||||
}
|
||||
}
|
||||
add_action( 'after_setup_theme', 'understrap_custom_header_setup' );
|
||||
|
|
Reference in New Issue