shutdown_action_hook
Runs just before PHP shuts down execution.
Description
shutdown_action_hook();
Usage
if ( !function_exists( 'shutdown_action_hook' ) ) { require_once ABSPATH . WPINC . '/load.php'; } // NOTICE! Understand what this does before running. $result = shutdown_action_hook();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/load.php
- function shutdown_action_hook() {
- /**
- * Fires just before PHP shuts down execution.
- *
- * @since 1.2.0
- */
- do_action( 'shutdown' );
- }