Skip to content
Snippets Groups Projects
cfafa-form-action-product.php 8.88 KiB
<?php
/**
 * "WooCommerce Product" ACFE Form Action Class.
 *
 * Handles the "WooCommerce Product" ACFE Form Action.
 *
 * @package Conditional_Form_Actions_For_ACFE
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

/**
 * CiviCRM Profile Sync "WooCommerce Product" ACFE Form Action Class.
 *
 * A class that handles the "WooCommerce Product" ACFE Form Action.
 *
 * @since 0.1
 */
class CFAFA_Form_Action_Product extends CFAFA_Form_Action_Base {

	/**
	 * Plugin object.
	 *
	 * @since 0.1
	 * @access public
	 * @var Conditional_Form_Actions_For_ACFE
	 */
	public $plugin;

	/**
	 * ACF Extended object.
	 *
	 * @since 0.1
	 * @access public
	 * @var CFAFA_ACFE
	 */
	public $acfe;

	/**
	 * Form Action Name.
	 *
	 * @since 0.1
	 * @access public
	 * @var string
	 */
	public $action_name = 'woo_cfafa_product';

	/**
	 * Field Key Prefix.
	 *
	 * @since 0.1
	 * @access public
	 * @var string
	 */
	public $field_key = 'field_cfafa_woo_product_';

	/**
	 * Field Name Prefix.
	 *
	 * @since 0.1
	 * @access public
	 * @var string
	 */
	public $field_name = 'cfafa_woo_product_';

	/**
	 * Constructor.
	 *
	 * @since 0.1