Add pluggable function wrappers to inc/widgets.php
This commit is contained in:
parent
d3236e10d6
commit
a677325ffb
|
@ -44,6 +44,8 @@ if ( ! function_exists( 'understrap_slbd_count_widgets' ) ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_action( 'widgets_init', 'understrap_widgets_init' );
|
||||||
|
|
||||||
if ( ! function_exists( 'understrap_widgets_init' ) ) {
|
if ( ! function_exists( 'understrap_widgets_init' ) ) {
|
||||||
/**
|
/**
|
||||||
* Initializes themes widgets.
|
* Initializes themes widgets.
|
||||||
|
@ -100,6 +102,4 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
|
||||||
) );
|
) );
|
||||||
|
|
||||||
}
|
}
|
||||||
} // endif function_exists( 'understrap_widgets_init' ).
|
} // endif function_exists( 'understrap_widgets_init' ).
|
||||||
add_action( 'widgets_init', 'understrap_widgets_init' );
|
|
||||||
|
|
Reference in New Issue