Premium_Integrations::get_id()

Returns the integration ID

Contents


Return Return

(String) The integration ID


Source Source

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

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