WooCommerce Code Reference

WC_Integrations

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

Methods

get_integration()

Return a desired integration.

public get_integration(string $id) : mixed|null
Parameters
$id : string

The id of the integration to get.

Tags
since
3.9.0
Return values
mixed|nullThe integration if one is found, otherwise null.

get_integrations()

Return loaded integrations.

public get_integrations() : array<string|int, mixed>
Return values
array<string|int, mixed>