• 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_Store::has_pending_actions_due() – Check if there are any pending scheduled actions due to run.

You appear to be a bot. Output may be restricted

Description

Check if there are any pending scheduled actions due to run.

Usage

$string = ActionScheduler_Store::has_pending_actions_due();

Parameters

Returns

string

Source

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


Lines:

1 to 9 of 9
  public function has_pending_actions_due() {
    $pending_actions = $this->query_actions( array(
      'date'   => as_get_datetime_object(),
      'status' => ActionScheduler_Store::STATUS_PENDING,
    ) );

    return ! empty( $pending_actions );
  }
 

 View on GitHub View on Trac

Published: 6th April 2020 | Last updated: 6th May 2020

Primary Sidebar

Information

Function name: ActionScheduler_Store::has_pending_actions_due
Class ref: ActionScheduler_Store
Plugin ref: WooCommerce
Version: 5.2.2
Sourcefile: packages/action-scheduler/classes/abstracts/ActionScheduler_Store.php
File ref: packages/action-scheduler/classes/abstracts/ActionScheduler_Store.php
Deprecated?: No
API Letters: A,H,P,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