Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
wp-content
/
plugins
/
woocommerce
/
packages
/
action-scheduler
/
classes
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php class ActionScheduler_InvalidActionException extends \InvalidArgumentException implements ActionScheduler_Exception { public static function from_schedule($action_id, $schedule) { $message = sprintf(__('Action [%1$s] has an invalid schedule: %2$s', 'woocommerce'), $action_id, var_export($schedule, true)); return new static($message); } public static function from_decoding_args($action_id, $args = array()) { $message = sprintf(__('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); } }