WooCommerce iZettle 1.x Code Reference
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference

Namespaces

  • Onlineforce
    • Woocommerce_Izettle

Classes

  • Woocommerce_Izettle
  • Woocommerce_Izettle_Activator
  • Woocommerce_Izettle_Admin
  • Woocommerce_Izettle_Admin_Actions
  • Woocommerce_Izettle_Admin_Ajax
  • Woocommerce_Izettle_Admin_Meta_Boxes
  • Woocommerce_Izettle_Admin_Notices
  • Woocommerce_Izettle_Background_Worker
  • Woocommerce_Izettle_Cron
  • Woocommerce_Izettle_Deactivator
  • Woocommerce_Izettle_I18n
  • Woocommerce_Izettle_Images
  • Woocommerce_Izettle_Inventory
  • Woocommerce_Izettle_Loader
  • Woocommerce_Izettle_Orders
  • Woocommerce_Izettle_Products
  • Woocommerce_Izettle_Settings

Functions

  • run_woocommerce_izettle

Class Woocommerce_Izettle_Cron

The class that handles cron functionality.

A class definition that defines functions regarding cron synchronization between WooCommerce and iZettle.

Namespace: Onlineforce\Woocommerce_Izettle
Package: Woocommerce\Izettle\includes
Author: Onlineforce Sweden AB support@onlineforce.net
Since: 1.0.0
Located at includes/class-woocommerce-izettle-cron.php

Methods summary

public static
# init_cron_task( )

Initialize our cron task with the WordPress scheduler.

Initialize our cron task with the WordPress scheduler.

public static
# remove_cron_task( )

Remove our cron task from the WordPress scheduler.

Remove our cron task from the WordPress scheduler.

public static
# reschedule_cron_task( )

Reschedule our cron task in the WordPress scheduler.

Reschedule our cron task in the WordPress scheduler.

public static array
# create_cron_interval( array $intervals )

Create our own cron interval for the WordPress scheduler.

Create our own cron interval for the WordPress scheduler.

Parameters

$intervals
The intervals that we add to.

Returns

array
Intervals after we have added our own.
public static
# update_cron_lastrun( )

Save cron task last run timestamp in database.

Save cron task last run timestamp in database.

public static string
# get_cron_lastrun( )

Get cron task last run timestamp from database.

Get cron task last run timestamp from database.

Returns

string
The time when the task wast last run.
public static
# run_cron_task( )

Run the cron task.

Run the cron task.

WooCommerce iZettle 1.x Code Reference API documentation generated by ApiGen