mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
shutdown action hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@1097 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+7
-1
@@ -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');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user