Merge pull request #1101 from IanDelMar/patch-1
Move action hook outside if
This commit is contained in:
commit
1f7327c7e4
|
@ -17,9 +17,8 @@ if ( ! function_exists( 'understrap_site_info' ) ) {
|
|||
}
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'understrap_add_site_info' ) ) {
|
||||
add_action( 'understrap_site_info', 'understrap_add_site_info' );
|
||||
|
||||
if ( ! function_exists( 'understrap_add_site_info' ) ) {
|
||||
/**
|
||||
* Add site info content.
|
||||
*/
|
||||
|
|
Reference in New Issue