Premium_Integrations::set_id( String $id )

Sets the ID of the integration This will also be used as the tab ID


Parameters Parameters

$id

(Required) The ID


Source Source

File: src/core/lib/settings/trait-premium-integrations.php

	public function set_id( $id ) {
		// Check if the ID is defined
		if ( empty( $id ) ) {
			throw new Exception( "Premium Integration: The ID can't be empty" );
		}
		$this->id = $id;
	}