class-ajax-functions.php
2 weeks ago
class-define-constant.php
2 weeks ago
class-functions.php
2 weeks ago
do-it.php
2 weeks ago
inject-script.php
2 weeks ago
class-define-constant.php
27 lines
| 1 | <?php |
| 2 | if (! defined('ABSPATH')) { |
| 3 | exit; // Exit if accessed directly |
| 4 | } |
| 5 | |
| 6 | class AVCF_Constants { |
| 7 | |
| 8 | public function __construct() { |
| 9 | // Define constants |
| 10 | $this->avcf_define_constant(); |
| 11 | } |
| 12 | |
| 13 | public function avcf_define_constant() { |
| 14 | define( 'AVCF_VERSION', '5.0' ); |
| 15 | define( 'AVCF_SITE_URL', site_url() ); |
| 16 | define( 'AVCF_HOME_URL', home_url() ); |
| 17 | define( 'AVCF_MAIN_SITE_URL', 'https://atarim.io' ); |
| 18 | define( 'AVCF_APP_SITE_URL', 'https://app.atarim.io' ); |
| 19 | define( 'AVCF_CRM_API', 'https://api.atarim.io/' ); |
| 20 | define( 'AVCF_SCRIPT_URL', 'https://ij-script.pages.dev/atarim.js' ); |
| 21 | define( 'AVCF_LEARN_SITE_URL', 'https://academy.atarim.io' ); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | new AVCF_Constants(); |
| 26 | |
| 27 |