WordPress at a glance
function is not described

ActionScheduler_InvalidActionException::from_decoding_args() public WC 1.0

Create a new exception when the action's args cannot be decoded to an array.

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

No Hooks.

Return

static.

Usage

$result = ActionScheduler_InvalidActionException::from_decoding_args( $action_id, $args );
$action_id(string) (required)
The action ID with bad args.
$args **
-
Default: array()

Code of ActionScheduler_InvalidActionException::from_decoding_args() WC 5.0.0

<?php
public static function from_decoding_args( $action_id, $args = array() ) {
	$message = sprintf(
		/* translators: 1: action ID 2: arguments */
		__( 'Action [%1$s] has invalid arguments. It cannot be JSON decoded to an array. $args = %2$s', 'woocommerce' ),
		$action_id,
		var_export( $args, true )
	);

	return new static( $message );
}