ActionScheduler_Logger::log_timed_out_action()
Method of the class: ActionScheduler_Logger{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_Logger = new ActionScheduler_Logger(); $ActionScheduler_Logger->log_timed_out_action( $action_id, $timeout );
- $action_id (required)
- -
- $timeout (required)
- -
ActionScheduler_Logger::log_timed_out_action() ActionScheduler Logger::log timed out action code WC 9.3.1
public function log_timed_out_action( $action_id, $timeout ) { /* translators: %s: amount of time */ $this->log( $action_id, sprintf( __( 'action marked as failed after %s seconds. Unknown error occurred. Check server, PHP and database error logs to diagnose cause.', 'woocommerce' ), $timeout ) ); }