From 00c9709fd9763542e848f6278db8ba26af5c9886 Mon Sep 17 00:00:00 2001
From: Max
Date: Mon, 15 Oct 2018 23:46:42 +0200
Subject: Initial commit.
---
inc/hooks.php | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 inc/hooks.php
(limited to 'inc/hooks.php')
diff --git a/inc/hooks.php b/inc/hooks.php
new file mode 100644
index 0000000..8cd0b8d
--- /dev/null
+++ b/inc/hooks.php
@@ -0,0 +1,49 @@
+%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.
+ }
+}
--
cgit v1.2.3