<?php
/**
 * Credit credentials helper.
 *
 * @package AIPT\Core\CreditSystem
 */

namespace AIPT\Core\CreditSystem;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class CreditCredentials {
	public static function isRegistered(): bool {
		return ! empty( get_option( 'aipt_credit_api_key', '' ) )
			&& ! empty( get_option( 'aipt_credit_secret_key', '' ) );
	}
}
