action_scheduler_failed_fetch_action

action_scheduler_failed_fetch_action

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('action_scheduler_failed_fetch_action') is found 2 times:

  • /packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php line 370
    367
    368
    369
    370
    371
    372
    373
    374
    375
        try {
            $action = $this->make_action_from_db_record( $data );
        } catch ( ActionScheduler_InvalidActionException $exception ) {
            do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception );
            return $this->get_null_action();
        }
     
        return $action;
    }
  • /packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php line 200
    197
    198
    199
    200
    201
    202
    203
    204
    205
        try {
            $action = $this->make_action_from_post( $post );
        } catch ( ActionScheduler_InvalidActionException $exception ) {
            do_action( 'action_scheduler_failed_fetch_action', $post->ID, $exception );
            return $this->get_null_action();
        }
     
        return $action;
    }

See this hook used in plugins: