WooCommerce Code Reference

WC_Integrations

Integrations class.

Table of Contents

$integrations  : array
Array of integrations.
__construct()  : mixed
Initialize integrations.
get_integration()  : mixed|null
Return a desired integration.
get_integrations()  : array
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.