diff --git a/inc/hooks.php b/inc/hooks.php new file mode 100644 index 0000000..8706cf7 --- /dev/null +++ b/inc/hooks.php @@ -0,0 +1,47 @@ +%2$s | %3$s(%4$s)', + esc_url( __( 'http://wordpress.org/', 'understrap' ) ), + sprintf( + /* translators:*/ + esc_html__( 'Proudly powered by %s', 'understrap' ), 'WordPress' + ), + sprintf( // WPCS: XSS ok. + /* translators:*/ + esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), 'understrap.com' + ), + sprintf( // WPCS: XSS ok. + /* translators:*/ + esc_html__( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) + ) + ); + + echo apply_filters( understrap_site_info_content, $site_info ); // WPCS: XSS ok. + } +}