config.wordpress.php
28 lines
| 1 | <?php |
| 2 | require_once(dirname(__FILE__).'/config.php'); |
| 3 | |
| 4 | //Plugin's directory name |
| 5 | define('SG_PLUGIN_NAME', basename(dirname(SG_PUBLIC_PATH))); |
| 6 | |
| 7 | //Urls |
| 8 | define('SG_PUBLIC_URL', plugins_url().'/'.SG_PLUGIN_NAME.'/public/'); |
| 9 | define('SG_PUBLIC_AJAX_URL', SG_PUBLIC_URL.'ajax/'); |
| 10 | define('SG_PUBLIC_BACKUPS_URL', network_admin_url('admin.php?page=backup_guard_backups')); |
| 11 | define('SG_PUBLIC_CLOUD_URL', network_admin_url('admin.php?page=backup_guard_cloud')); |
| 12 | define('SG_BACKUP_GUARD_REVIEW_URL', 'https://wordpress.org/support/view/plugin-reviews/backup?filter=5'); |
| 13 | define('SG_IMAGE_URL', SG_PUBLIC_URL.'img/'); |
| 14 | |
| 15 | //BackupGuard Site URL |
| 16 | define('SG_BACKUP_SITE_URL', 'https://backup-guard.com/products/backup-wordpress'); |
| 17 | |
| 18 | define('SG_BACKUP_UPGRADE_URL', 'https://backup-guard.com/products/backup-wordpress/0'); |
| 19 | |
| 20 | define('SG_BACKUP_SITE_PRICING_URL', 'https://backup-guard.com/products/backup-wordpress#pricing'); |
| 21 | |
| 22 | define('SG_BACKUP_ADMIN_LOGIN_URL', 'https://backup-guard.com/admin'); |
| 23 | |
| 24 | // banner URLS |
| 25 | define('SG_BACKUP_KNOWLEDGE_BASE_URL', 'https://help.backup-guard.com/en/'); |
| 26 | define('SG_BACKUP_DEMO_URL', 'https://backup-guard.com/wordpress/wp-login.php'); |
| 27 | define('SG_BACKUP_FAQ_URL', 'https://backup-guard.com/products/backup-wordpress/faq'); |
| 28 | define('SG_BACKUP_CONTACT_US_URL', 'https://wordpress.org/support/plugin/backup/'); |