Warning: This method has been deprecated. v2.1 Automator()->register->integration instead.

Automator_Functions::register_integration( $integration_code = null,  $integration = null )

Add a new integration


Parameters Parameters

$integration_code

(Optional)

Default value: null

$integration

(Optional)

Default value: null


Top ↑

Return Return

(null|bool)


Source Source

File: src/core/lib/class-automator-functions.php

	public function register_integration( $integration_code = null, $integration = null ) {
		if ( defined( 'AUTOMATOR_DEBUG_MODE' ) && true === AUTOMATOR_DEBUG_MODE ) {
			_doing_it_wrong( 'register_integration', 'Please use Automator()->register->integration instead.', 3.0 );
		}

		return $this->register->integration( $integration_code, $integration );
	}