| 1 |
<?php |
| 2 |
/** |
| 3 |
* Integrations. |
| 4 |
* |
| 5 |
* Load integrations classes of Orderable plugin. |
| 6 |
* |
| 7 |
* @package Orderable/Classes |
| 8 |
*/ |
| 9 |
|
| 10 |
defined( 'ABSPATH' ) || exit; |
| 11 |
|
| 12 |
/** |
| 13 |
* Modules class. |
| 14 |
*/ |
| 15 |
class Orderable_Integrations { |
| 16 |
/** |
| 17 |
* Init. |
| 18 |
*/ |
| 19 |
public static function run() { |
| 20 |
self::load_integrations(); |
| 21 |
} |
| 22 |
|
| 23 |
/** |
| 24 |
* Load integrations. |
| 25 |
*/ |
| 26 |
private static function load_integrations() { |
| 27 |
require_once ORDERABLE_INC_PATH . 'integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php'; |
| 28 |
|
| 29 |
Orderable_Integration_WooCommerce_Points_And_Rewards::init(); |
| 30 |
} |
| 31 |
} |
| 32 |
|