| @@ -60,14 +60,19 @@ | ||
| 60 | 60 | 'classes' => 'gamipress-switch', |
| 61 | 61 | ), |
| 62 | 62 | 'disable_shortcodes_editor' => array( |
| 63 | 63 | 'name' => __( 'Disable Shortcodes Editor', 'gamipress' ), |
| 64 | - 'tooltip' => __( 'Disable the shortcodes editor.', 'gamipress' ) . '<br>' | |
| 65 | - . '<small>' . __( 'Check this option if you are experiencing black screens in your theme settings or in your page builder forms.', 'gamipress' ) . '</small>', | |
| 64 | + 'tooltip' => __( 'Disable the GamiPress shortcodes editor.', 'gamipress' ), | |
| 66 | 65 | 'label_cb' => 'cmb_tooltip_label_cb', |
| 67 | 66 | 'type' => 'checkbox', |
| 68 | 67 | 'classes' => 'gamipress-switch', |
| 69 | 68 | ), |
| 69 | + ) ) | |
| 70 | + ); | |
| 71 | + | |
| 72 | + $meta_boxes['general-advanced-settings'] = array( | |
| 73 | + 'title' => gamipress_dashicon( 'admin-settings' ) . __( 'Advanced Settings', 'gamipress' ), | |
| 74 | + 'fields' => apply_filters( 'gamipress_general_advanced_settings_fields', array( | |
| 70 | 75 | 'debug_mode' => array( |
| 71 | 76 | 'name' => __( 'Debug Mode', 'gamipress' ), |
| 72 | 77 | 'tooltip' => __( 'Enable the GamiPress debug mode.', 'gamipress' ), |
| 73 | 78 | 'label_cb' => 'cmb_tooltip_label_cb', |
| @@ -75,8 +80,10 @@ | ||
| 75 | 80 | 'classes' => 'gamipress-switch', |
| 76 | 81 | ), |
| 77 | 82 | 'clear_cache' => array( |
| 78 | 83 | 'name' => __( 'Clear Cache', 'gamipress' ), |
| 84 | + 'tooltip' => __( 'Clear the GamiPress internal cache.', 'gamipress' ), | |
| 85 | + 'label_cb' => 'cmb_tooltip_label_cb', | |
| 79 | 86 | 'type' => 'html', |
| 80 | 87 | 'content_cb' => 'gamipress_clear_cache_content_cb', |
| 81 | 88 | ), |
| 82 | 89 | ) ) |