Skip to content
Browse files

shutdown action hook.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 3643eaf commit 1127059a9975dc470e78e0bf17f9d4cbdaf7a402 saxmatt committed
Showing with 7 additions and 1 deletion.
  1. +7 −1 wp-settings.php
View
8 wp-settings.php
@@ -76,4 +76,10 @@
include(ABSPATH . 'wp-content/plugins/' . $plugin);
}
}
-?>
+
+function shutdown_action_hook() {
+ do_action('shutdown', '');
+}
+register_shutdown_function('shutdown_action_hook');
+
+?>

0 comments on commit 1127059

Please sign in to comment.
Something went wrong with that request. Please try again.