WC_Integrations
in package
Integrations class.
Table of Contents
- $integrations : array<string|int, mixed>
- Array of integrations.
- __construct() : mixed
- Initialize integrations.
- get_integration() : mixed|null
- Return a desired integration.
- get_integrations() : array<string|int, mixed>
- Return loaded integrations.
Properties
$integrations
Array of integrations.
public
array<string|int, mixed>
$integrations
= array()
Methods
__construct()
Initialize integrations.
public
__construct() : mixed
Return values
mixed —get_integration()
Return a desired integration.
public
get_integration(string $id) : mixed|null
Parameters
- $id : string
-
The id of the integration to get.
Tags
Return values
mixed|null — The integration if one is found, otherwise null.get_integrations()
Return loaded integrations.
public
get_integrations() : array<string|int, mixed>