wordpress / latest / functions / shutdown_action_hook.html

shutdown_action_hook()

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Runs just before PHP shuts down execution.

Source

File: wp-includes/load.php. View all references

function shutdown_action_hook() {
	/**
	 * Fires just before PHP shuts down execution.
	 *
	 * @since 1.2.0
	 */
	do_action( 'shutdown' );

	wp_cache_close();
}

Hooks

Uses

Uses Description

Changelog

Version Description
1.2.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/shutdown_action_hook