Add pluggable function wrappers to inc/widgets.php

This commit is contained in:
Alex Wright 2018-03-30 11:38:54 -05:00
parent d3236e10d6
commit a677325ffb
1 changed files with 3 additions and 3 deletions

View File

@ -44,6 +44,8 @@ if ( ! function_exists( 'understrap_slbd_count_widgets' ) ) {
}
}
add_action( 'widgets_init', 'understrap_widgets_init' );
if ( ! function_exists( 'understrap_widgets_init' ) ) {
/**
* Initializes themes widgets.
@ -100,6 +102,4 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
) );
}
} // endif function_exists( 'understrap_widgets_init' ).
add_action( 'widgets_init', 'understrap_widgets_init' );
} // endif function_exists( 'understrap_widgets_init' ).