Runs just before PHP shuts down execution.

Signature

shutdown_action_hook()

Return

(void)

Source

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

	wp_cache_close();
}
WP Trac GitHub

Link here