| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly |
| 4 |
} |
| 5 |
|
| 6 |
/** |
| 7 |
* Divi theme compatibility layer |
| 8 |
*/ |
| 9 |
if ( ! class_exists( 'Merchant_Divi_Theme' ) ) { |
| 10 |
class Merchant_Divi_Theme { |
| 11 |
|
| 12 |
/** |
| 13 |
* Constructor. |
| 14 |
*/ |
| 15 |
public function __construct() { |
| 16 |
// Nothing for now. |
| 17 |
} |
| 18 |
} |
| 19 |
|
| 20 |
/** |
| 21 |
* The class object can be accessed with "global $divi_compatibility", to allow removing actions. |
| 22 |
* Improving Third-party integrations. |
| 23 |
*/ |
| 24 |
$merchant_divi_compatibility = new Merchant_Divi_Theme(); |
| 25 |
} |
| 26 |
|