shutdown action hook.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-04-19 05:19:45 +00:00
parent 3643eaf175
commit 1127059a99
1 changed files with 7 additions and 1 deletions

View File

@ -76,4 +76,10 @@ if (!strstr($_SERVER['REQUEST_URI'], 'wp-admin/plugins.php') && get_settings('ac
include(ABSPATH . 'wp-content/plugins/' . $plugin);
}
}
?>
function shutdown_action_hook() {
do_action('shutdown', '');
}
register_shutdown_function('shutdown_action_hook');
?>