A WordPress-centric search engine for devs and theme authors



shutdown_action_hook ›

Since1.2.0
Deprecatedn/a
shutdown_action_hook ( No parameters )
Access:
  • private
Defined at:
Codex:

Runs just before PHP shuts down execution.



Source

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

	wp_cache_close();
}