From d26379af974d818c53ed160c645b1ee0e9799f3b Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 11 Oct 2006 03:39:13 +0000 Subject: [PATCH] Some action in get_header and footer git-svn-id: http://svn.automattic.com/wordpress/trunk@4371 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index bd3d6d47c..cc880c58d 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -3,6 +3,7 @@ /* Note: these tags go anywhere in the template */ function get_header() { + do_action( 'get_header' ); if ( file_exists( TEMPLATEPATH . '/header.php') ) load_template( TEMPLATEPATH . '/header.php'); else @@ -11,6 +12,7 @@ function get_header() { function get_footer() { + do_action( 'get_footer' ); if ( file_exists( TEMPLATEPATH . '/footer.php') ) load_template( TEMPLATEPATH . '/footer.php'); else