fluent-booking.php
54 lines
| 1 | <?php |
| 2 | /** |
| 3 | * FluentBooking core integrations file |
| 4 | * |
| 5 | * @since 1.0.0 |
| 6 | * @package SureTrigger |
| 7 | */ |
| 8 | |
| 9 | namespace SureTriggers\Integrations\FluentBooking; |
| 10 | |
| 11 | use SureTriggers\Controllers\IntegrationsController; |
| 12 | use SureTriggers\Integrations\Integrations; |
| 13 | use SureTriggers\Traits\SingletonLoader; |
| 14 | |
| 15 | /** |
| 16 | * Class SureTrigger |
| 17 | * |
| 18 | * @package SureTriggers\Integrations\FluentBooking |
| 19 | */ |
| 20 | class FluentBooking extends Integrations { |
| 21 | |
| 22 | use SingletonLoader; |
| 23 | |
| 24 | /** |
| 25 | * ID |
| 26 | * |
| 27 | * @var string |
| 28 | */ |
| 29 | protected $id = 'FluentBooking'; |
| 30 | |
| 31 | /** |
| 32 | * SureTrigger constructor. |
| 33 | */ |
| 34 | public function __construct() { |
| 35 | $this->name = __( 'FluentBooking', 'suretriggers' ); |
| 36 | $this->description = __( 'FluentBooking is the Ultimate Scheduling Solution for WordPress. Harness the power of unlimited appointments, bookings, webinars, events, sales calls, etc., and save time with scheduling automation.', 'suretriggers' ); |
| 37 | parent::__construct(); |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Is Plugin depended plugin is installed or not. |
| 42 | * |
| 43 | * @return bool |
| 44 | */ |
| 45 | public function is_plugin_installed() { |
| 46 | return defined( 'FLUENT_BOOKING_VERSION' ); |
| 47 | } |
| 48 | |
| 49 | |
| 50 | |
| 51 | } |
| 52 | |
| 53 | IntegrationsController::register( FluentBooking::class ); |
| 54 |