ActionScheduler::check_shutdown_hook
Deprecated since 3.1.6.. It is no longer supported and may 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.
Returns
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() ActionScheduler::check shutdown hook code WC 9.9.5
public static function check_shutdown_hook( $function_name ) { _deprecated_function( __FUNCTION__, '3.1.6' ); }