related.php
53 lines
| 1 | <?php |
| 2 | |
| 3 | if (!defined('ABSPATH')) { |
| 4 | exit; |
| 5 | } |
| 6 | |
| 7 | /** |
| 8 | * The related config can only be used AFTER or ON the 'init' hook. |
| 9 | * |
| 10 | * Config documentation: |
| 11 | * pre_checked: The plugin will be pre checked for installation in the onboarding |
| 12 | */ |
| 13 | return [ |
| 14 | 'plugins' => [ |
| 15 | 'complianz-gdpr' => [ |
| 16 | 'slug' => 'complianz-gdpr', |
| 17 | 'options_prefix' => 'cmplz', |
| 18 | 'activation_slug' => 'complianz-gdpr/complianz-gpdr.php', |
| 19 | 'constant_free' => 'cmplz_version', |
| 20 | 'constant_premium' => 'cmplz_premium', |
| 21 | 'create' => admin_url('admin.php?page=complianz'), |
| 22 | 'wordpress_url' => 'https://wordpress.org/plugins/complianz-gdpr/', |
| 23 | 'upgrade_url' => 'https://complianz.io?src=rsssl-plugin', |
| 24 | 'title' => 'Complianz - ' . (did_action('init') ? esc_html__('Consent Management as it should be', 'really-simple-ssl') : 'Consent Management as it should be'), |
| 25 | 'color' => '#009fff', |
| 26 | "pre_checked" => true, |
| 27 | ], |
| 28 | 'complianz-terms-conditions' => [ |
| 29 | 'slug' => 'complianz-terms-conditions', |
| 30 | 'options_prefix' => 'cmplz_tc', |
| 31 | 'activation_slug' => 'complianz-terms-conditions/complianz-terms-conditions.php', |
| 32 | 'constant_free' => 'cmplz_tc_version', |
| 33 | 'create' => admin_url('admin.php?page=terms-conditions'), |
| 34 | 'wordpress_url' => 'https://wordpress.org/plugins/complianz-terms-conditions/', |
| 35 | 'upgrade_url' => 'https://complianz.io?src=rsssl-plugin', |
| 36 | 'title' => 'Complianz - ' . (did_action('init') ? esc_html__('Terms & Conditions', 'really-simple-ssl') : 'Terms & Conditions'), |
| 37 | 'color' => '#000000', |
| 38 | "pre_checked" => true, |
| 39 | ], |
| 40 | 'simplybook' => [ |
| 41 | 'slug' => 'simplybook', |
| 42 | 'options_prefix' => 'simplybook', |
| 43 | 'activation_slug' => 'simplybook/simplybook.php', |
| 44 | 'create' => admin_url('admin.php?page=simplybook-integration'), |
| 45 | 'wordpress_url' => 'https://wordpress.org/plugins/simplybook/', |
| 46 | 'upgrade_url' => 'https://simplybook.me/en/pricing', |
| 47 | 'title' => 'SimplyBook.me - ' . (did_action('init') ? esc_html__('Online Booking System', 'really-simple-ssl') : 'Online Booking System'), |
| 48 | 'color' => '#06ADEF', |
| 49 | "pre_checked" => false, |
| 50 | ], |
| 51 | ], |
| 52 | ]; |
| 53 |