Api_Server::get_item_name()

Method get_item_name


Return Return

(string)


Source Source

File: src/core/classes/class-api-server.php

	public static function get_item_name() {

		$license_type = strtoupper( self::get_license_type() );

		if ( ! $license_type ) {
			return '';
		}

		if ( 'PRO' === $license_type ) {
			return constant( 'AUTOMATOR_AUTOMATOR_' . $license_type . '_ITEM_NAME' );
		}

		return constant( 'AUTOMATOR_' . $license_type . '_ITEM_NAME' );
	}