ActionScheduler_Logger::log_completed_action()
Method of the class: ActionScheduler_Logger{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_Logger = new ActionScheduler_Logger(); $ActionScheduler_Logger->log_completed_action( $action_id, $action, $context );
- $action_id (required)
- -
- $action **
- -
Default: NULL - $context **
- -
Default: ''
ActionScheduler_Logger::log_completed_action() ActionScheduler Logger::log completed action code WC 9.3.3
public function log_completed_action( $action_id, $action = NULL, $context = '' ) { if ( ! empty( $context ) ) { /* translators: %s: context */ $message = sprintf( __( 'action complete via %s', 'woocommerce' ), $context ); } else { $message = __( 'action complete', 'woocommerce' ); } $this->log( $action_id, $message ); }