• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / ActionScheduler_Abstract_QueueRunner::schedule_next_instance() – Schedule the next instance of the action if necessary.

You appear to be a bot. Output may be restricted

Description

Schedule the next instance of the action if necessary.

Usage

ActionScheduler_Abstract_QueueRunner::schedule_next_instance( $action, $action_id );

Parameters

$action
( ActionScheduler_Action ) required –
$action_id
( int ) required –

Returns

void

Source

File name: woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php


Lines:

1 to 8 of 8
  protected function schedule_next_instance( ActionScheduler_Action $action, $action_id ) {
    try {
      ActionScheduler::factory()->repeat( $action );
    } catch ( Exception $e ) {
      do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action );
    }
  }
 

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 6th April 2020

Primary Sidebar

Information

Function name: ActionScheduler_Abstract_QueueRunner::schedule_next_instance
Class ref: ActionScheduler_Abstract_QueueRunner
Plugin ref: WooCommerce
Version: 5.2.2
Sourcefile: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php
File ref: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php
Deprecated?: No
API Letters: A,N,Q,S

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.7.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites