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_Loader

Register all actions and filters for the plugin.

Maintain a list of all hooks that are registered throughout the plugin, and register them with the WordPress API. Call the run function to execute the list of actions and filters.

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

Methods summary

public
# __construct( )

Initialize the collections used to maintain the actions and filters.

Initialize the collections used to maintain the actions and filters.

Since

1.0.0
public
# add_action( string $hook, object $component, string $callback, integer $priority = 10, integer $accepted_args = 1 )

Add a new action to the collection to be registered with WordPress.

Add a new action to the collection to be registered with WordPress.

Parameters

$hook
The name of the WordPress action that is being registered.
$component
A reference to the instance of the object on which the action is defined.
$callback
The name of the function definition on the $component.
$priority
Optional. he priority at which the function should be fired. Default is 10.
$accepted_args
Optional. The number of arguments that should be passed to the $callback. Default is 1.

Since

1.0.0
public
# add_filter( string $hook, object $component, string $callback, integer $priority = 10, integer $accepted_args = 1 )

Add a new filter to the collection to be registered with WordPress.

Add a new filter to the collection to be registered with WordPress.

Parameters

$hook
The name of the WordPress filter that is being registered.
$component
A reference to the instance of the object on which the filter is defined.
$callback
The name of the function definition on the $component.
$priority
Optional. he priority at which the function should be fired. Default is 10.
$accepted_args
Optional. The number of arguments that should be passed to the $callback. Default is 1.

Since

1.0.0
public
# run( )

Register the filters and actions with WordPress.

Register the filters and actions with WordPress.

Since

1.0.0

Properties summary

protected array $actions

The array of actions registered with WordPress.

The array of actions registered with WordPress.

Since

1.0.0
#
protected array $filters

The array of filters registered with WordPress.

The array of filters registered with WordPress.

Since

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