shutdown action hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3643eaf175
commit
1127059a99
|
@ -76,4 +76,10 @@ if (!strstr($_SERVER['REQUEST_URI'], 'wp-admin/plugins.php') && get_settings('ac
|
||||||
include(ABSPATH . 'wp-content/plugins/' . $plugin);
|
include(ABSPATH . 'wp-content/plugins/' . $plugin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function shutdown_action_hook() {
|
||||||
|
do_action('shutdown', '');
|
||||||
|
}
|
||||||
|
register_shutdown_function('shutdown_action_hook');
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue