<?php
/**
 * Form Documentation Links Class
 *
 * This class defines constants containing documentation links, guide links,
 * and video links for various forms supported by the plugin.
 *
 * @package miniorange-sms-order-notification-otp-verification/helper
 * @since   1.0.0
 */

namespace WCSMSOTP\Helper;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Form Documentation Links Class
 *
 * This class defines constants containing documentation links, guide links,
 * and video links for various forms supported by the plugin.
 */
if ( ! class_exists( 'MoFormDocs' ) ) {
	/**
	 * Form Documentation Links Class
	 *
	 * This class defines constants containing documentation links, guide links,
	 * and video links for various forms supported by the plugin.
	 */
	class MoFormDocs {

		/**
		 * WooCommerce SMS notification documentation links.
		 *
		 * @var array<string, string> Array with 'guideLink' and 'videoLink' keys.
		 */
		const WOCOMMERCE_SMS_NOTIFICATION_LINK = array(
			'guideLink' => 'https://plugins.miniorange.com/wordpress-otp-verification',
			'videoLink' => 'https://www.youtube.com/watch?v=atlyqTy8RHI&ab_channel=miniOrange',
		);

		/**
		 * WooCommerce form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const WC_FORM_LINK = array(
			'formLink'  => 'https://wordpress.org/plugins/woocommerce/',
			'guideLink' => 'https://plugins.miniorange.com/otp-verification-woocommerce-registration-form/',
			'videoLink' => 'https://youtu.be/IpsJ9cRTYSI',
		);

		/**
		 * WooCommerce checkout form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const WC_CHECKOUT_LINK = array(
			'formLink'  => 'https://wordpress.org/plugins/woocommerce/',
			'guideLink' => 'https://plugins.miniorange.com/otp-verification-woocommerce-checkout-form/',
			'videoLink' => 'https://youtu.be/atlyqTy8RHI',
		);

		/**
		 * WooCommerce billing address update form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const WC_BILLING_LINK = array(
			'formLink'  => 'https://wordpress.org/plugins/woocommerce/',
			'guideLink' => 'https://plugins.miniorange.com/otp-verification-woocommerce-billing-address-update-form/',
			'videoLink' => 'https://youtu.be/4q1rKeiPKvw',
		);

		/**
		 * WooCommerce social login form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const WC_SOCIAL_LOGIN = array(
			'formLink'  => 'https://woocommerce.com/products/woocommerce-social-login/',
			'guideLink' => 'https://plugins.miniorange.com/otp-verification-for-woocommerce-social-login',
			'videoLink' => '',
		);

		/**
		 * WooCommerce product vendor registration form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const WC_PRODUCT_VENDOR = array(
			'formLink'  => 'https://woocommerce.com/products/product-vendors/',
			'guideLink' => 'https://plugins.miniorange.com/otp-verification-for-woocommerce-product-vendor-registration-form',
			'videoLink' => '',
		);

		/**
		 * WordPress login form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const LOGIN_FORM = array(
			'formLink'  => '',
			'guideLink' => 'https://plugins.miniorange.com/otp-verification-login-form',
			'videoLink' => 'https://www.youtube.com/watch?v=RyNWI-t2kDo',
		);

		/**
		 * WooCommerce Frontend Manager form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const WCFM_FORM = array(
			'formLink'  => 'https://wordpress.org/plugins/wc-frontend-manager/',
			'guideLink' => 'https://plugins.miniorange.com/otp-verification-for-woocommerce-frontend-manager-form',
			'videoLink' => '',
		);

		/**
		 * WooCommerce new checkout form documentation links.
		 *
		 * @var array<string, string> Array with 'formLink', 'guideLink', and 'videoLink' keys.
		 */
		const WC_NEW_CHECKOUT_LINK = array(
			'formLink'  => 'https://wordpress.org/plugins/woocommerce/',
			'guideLink' => '',
			'videoLink' => '',
		);
	}
}
