• 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_RecurringSchedule::__construct() –

You appear to be a bot. Output may be restricted

Description

Usage

ActionScheduler_Abstract_RecurringSchedule::__construct( $date, $recurrence, $first );

Parameters

$date
( DateTime ) required – The date & time to run the action.
$recurrence
( mixed ) required – The data used to determine the schedule's recurrance.
$first
( DateTime|null ) optional – (Optional) The date & time the first instance of this interval schedule ran. Default null, meaning this is the first instance.

Returns

void

Source

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

1 to 5 of 5
  public function __construct( DateTime $date, $recurrence, DateTime $first = null ) {
    parent::__construct( $date );
    $this->first_date = empty( $first ) ? $date : $first;
    $this->recurrence = $recurrence;
  }
 

 View on GitHub View on Trac

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

Primary Sidebar

Information

Function name: ActionScheduler_Abstract_RecurringSchedule::__construct
Class ref: ActionScheduler_Abstract_RecurringSchedule
Plugin ref: WooCommerce
Version: 5.1.0
Sourcefile: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php
File ref: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php
Deprecated?: No
API Letters: A,R

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