W3cubDocs

/WordPress

do_action( 'shutdown' )

Fires just before PHP shuts down execution.

More Information

Runs just before PHP shuts down execution.

This hook is called by shutdown_action_hook() and registered with PHP as a shutdown function by register_shutdown_function() in wp-settings.php.

Source

File: wp-includes/load.php

View on Trac

Changelog

Version Description
1.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/shutdown