config.wordpress.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | require_once(dirname(__FILE__) . '/config.php'); |
| 4 | |
| 5 | //Plugin's directory name |
| 6 | if (!defined('SG_PLUGIN_NAME')) { |
| 7 | define('SG_PLUGIN_NAME', basename(dirname(SG_PUBLIC_PATH))); |
| 8 | } |
| 9 | |
| 10 | //Urls |
| 11 | if (!defined('SG_PUBLIC_URL')) { |
| 12 | define('SG_PUBLIC_URL', plugins_url() . '/' . SG_PLUGIN_NAME . '/public/'); |
| 13 | } |
| 14 | define('SG_PUBLIC_AJAX_URL', SG_PUBLIC_URL . 'ajax/'); |
| 15 | define('SG_PUBLIC_BACKUPS_URL', network_admin_url('admin.php?page=backup_guard_backups')); |
| 16 | define('SG_PUBLIC_CLOUD_URL', network_admin_url('admin.php?page=backup_guard_cloud')); |
| 17 | define('SG_BACKUP_GUARD_REVIEW_URL', 'https://wordpress.org/support/view/plugin-reviews/backup?filter=5'); |
| 18 | define('SG_IMAGE_URL', SG_PUBLIC_URL . 'img/'); |
| 19 | |
| 20 | //JetBackup Site URL |
| 21 | if (!defined('SG_BACKUP_SITE_URL')) { |
| 22 | define('SG_BACKUP_SITE_URL', 'https://www.jetbackup.com/jetbackup-for-wordpress'); |
| 23 | } |
| 24 | define('SG_BACKUP_UPGRADE_URL', 'https://www.jetbackup.com/jetbackup-for-wordpress'); |
| 25 | |
| 26 | define('SG_BACKUP_SITE_PRICING_URL', 'https://jetbackup.com/pricing/'); |
| 27 | |
| 28 | // banner URLS |
| 29 | define('SG_BACKUP_KNOWLEDGE_BASE_URL', 'https://billing.jetapps.com/index.php?rp=/knowledgebase/31/JetBackup-for-WordPress'); |
| 30 | define('SG_BACKUP_DEMO_URL', 'https://jetbackup.com/demo/'); |
| 31 | define('SG_BACKUP_FAQ_URL', 'https://docs.jetbackup.com/wordpress/jbwp/faq.html'); |
| 32 | define('SG_BACKUP_CONTACT_US_URL', 'https://wordpress.org/support/plugin/backup/'); |
| 33 |