ActionScheduler_Logger::log_timed_out_action
Log action timeout.
Method of the class: ActionScheduler_Logger{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$ActionScheduler_Logger = new ActionScheduler_Logger(); $ActionScheduler_Logger->log_timed_out_action( $action_id, $timeout );
- $action_id(int) (required)
- Action ID.
- $timeout(string) (required)
- Timeout.
ActionScheduler_Logger::log_timed_out_action() ActionScheduler Logger::log timed out action code WC 9.8.5
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 ) ); }