WordPress at Your Fingertips
function is not described

ActionScheduler_FatalErrorMonitor::detach() public WC 1.0

{} It's a method of the class: ActionScheduler_FatalErrorMonitor{}

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_FatalErrorMonitor = new ActionScheduler_FatalErrorMonitor();
$ActionScheduler_FatalErrorMonitor->detach();

Code of ActionScheduler_FatalErrorMonitor::detach() WC 6.1.1

public function detach() {
	$this->claim = NULL;
	$this->untrack_action();
	remove_action( 'shutdown', array( $this, 'handle_unexpected_shutdown' ) );
	remove_action( 'action_scheduler_before_execute', array( $this, 'track_current_action' ), 0 );
	remove_action( 'action_scheduler_after_execute',  array( $this, 'untrack_action' ), 0 );
	remove_action( 'action_scheduler_execution_ignored',  array( $this, 'untrack_action' ), 0 );
	remove_action( 'action_scheduler_failed_execution',  array( $this, 'untrack_action' ), 0 );
}