WordPress at Your Fingertips
function is not described

ActionScheduler::check_shutdown_hook() public WC 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.

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

No Hooks.


null. Nothing.


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


Deprecated 3.1.6.

Code of ActionScheduler::check_shutdown_hook() WC 6.1.0

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