Files
wp-multisite-waas/inc/managers/class-checkout-form-manager.php
2024-11-30 18:24:12 -07:00

59 lines
1006 B
PHP

<?php
/**
* Checkout Form Manager
*
* Handles processes related to Checkout Forms.
*
* @package WP_Ultimo
* @subpackage Managers/Checkout_Form_Manager
* @since 2.0.0
*/
namespace WP_Ultimo\Managers;
use WP_Ultimo\Managers\Base_Manager;
// Exit if accessed directly
defined('ABSPATH') || exit;
/**
* Handles processes related to checkout forms.
*
* @since 2.0.0
*/
class Checkout_Form_Manager extends Base_Manager {
use \WP_Ultimo\Apis\Rest_Api, \WP_Ultimo\Apis\WP_CLI, \WP_Ultimo\Traits\Singleton;
/**
* The manager slug.
*
* @since 2.0.0
* @var string
*/
protected $slug = 'checkout_form';
/**
* The model class associated to this manager.
*
* @since 2.0.0
* @var string
*/
protected $model_class = '\\WP_Ultimo\\Models\\Checkout_Form';
/**
* Instantiate the necessary hooks.
*
* @since 2.0.0
* @return void
*/
public function init() {
$this->enable_rest_api();
$this->enable_wp_cli();
} // end init;
} // end class Checkout_Form_Manager;