summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentysixteen/inc/template-tags.php')
-rw-r--r--themes/twentysixteen/inc/template-tags.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/twentysixteen/inc/template-tags.php b/themes/twentysixteen/inc/template-tags.php
index caeed1c5..55578bea 100644
--- a/themes/twentysixteen/inc/template-tags.php
+++ b/themes/twentysixteen/inc/template-tags.php
@@ -264,3 +264,21 @@ if ( ! function_exists( 'twentysixteen_the_custom_logo' ) ) :
}
}
endif;
+
+if ( ! function_exists( 'wp_body_open' ) ) :
+ /**
+ * Fire the wp_body_open action.
+ *
+ * Added for backwards compatibility to support pre 5.2.0 WordPress versions.
+ *
+ * @since Twenty Sixteen 2.0
+ */
+ function wp_body_open() {
+ /**
+ * Triggered after the opening <body> tag.
+ *
+ * @since Twenty Sixteen 2.0
+ */
+ do_action( 'wp_body_open' );
+ }
+endif;