WC_Integrations::get_integration( string $id )

Return a desired integration.


Description Description


Parameters Parameters

$id

(Required) The id of the integration to get.


Top ↑

Return Return

(mixed|null) The integration if one is found, otherwise null.


Top ↑

Source Source

File: includes/class-wc-integrations.php

	public function get_integration( $id ) {
		if ( isset( $this->integrations[ $id ] ) ) {
			return $this->integrations[ $id ];
		}

		return null;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.