ActionScheduler::check_shutdown_hook()public staticWC 1.0

Deprecated from version 3.1.6.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Issue deprecated warning if an Action Scheduler function is called in the shutdown hook.

Method of the class: ActionScheduler{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = ActionScheduler::check_shutdown_hook( $function_name );
$function_name(string) (required)
The name of the function being called.

Changelog

Deprecated since 3.1.6.

ActionScheduler::check_shutdown_hook() code WC 8.7.0

public static function check_shutdown_hook( $function_name ) {
	_deprecated_function( __FUNCTION__, '3.1.6' );
}