Move action hook outside if
This commit is contained in:
parent
cbcb0dda56
commit
b786f04859
|
@ -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' );
|
add_action( 'understrap_site_info', 'understrap_add_site_info' );
|
||||||
|
if ( ! function_exists( 'understrap_add_site_info' ) ) {
|
||||||
/**
|
/**
|
||||||
* Add site info content.
|
* Add site info content.
|
||||||
*/
|
*/
|
||||||
|
|
Reference in New Issue