PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.4.2
Forumax – AI Powered Advanced Community Forum Plugin v2.4.2
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 2.1.0 All 29 releases
bbp-core / includes / admin / options / settings.php

settings.php in Forumax – AI Powered Advanced Community Forum Plugin 2.4.2, at includes/admin/options/settings.php

56 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( class_exists( 'CSF' ) ) {
3
4 // Set a unique slug-like ID.
5 $prefix = 'bbp_core_settings';
6
7 // Create options.
8 CSF::createOptions(
9 $prefix,
10 [
11 'framework_title' => __( 'Forumax Settings', 'forumax' ),
12 'framework_class' => 'forumax-settings',
13 'theme' => 'dark',
14
15 'menu_title' => __( 'Settings', 'forumax' ),
16 'menu_slug' => 'forumax-settings',
17 'menu_type' => 'submenu',
18 'menu_parent' => 'forumax',
19 'register_menu' => false,
20 'show_bar_menu' => false,
21
22 // Footer.
23 'footer_text' => '',
24 'footer_after' => '',
25 'footer_credit' => '',
26 // customizer
27 'show_in_customizer' => forumax_get_opt( 'customizer_visibility' ),
28 ]
29 );
30
31 // Widgets Settings.
32 define( 'FORUMAX_SETTINGS_PATH', plugin_dir_path( __FILE__ ) );
33
34 include FORUMAX_SETTINGS_PATH . 'options_general.php';
35 include FORUMAX_SETTINGS_PATH . 'options_admin_ui.php';
36 include FORUMAX_SETTINGS_PATH . 'options_topics.php';
37 include FORUMAX_SETTINGS_PATH . 'options_replies.php';
38 include FORUMAX_SETTINGS_PATH . 'options_users.php';
39 include FORUMAX_SETTINGS_PATH . 'options_voting.php';
40 include FORUMAX_SETTINGS_PATH . 'options_attachments.php';
41 include FORUMAX_SETTINGS_PATH . 'options_mini_profile.php';
42 include FORUMAX_SETTINGS_PATH . 'options_notification.php';
43 include FORUMAX_SETTINGS_PATH . 'options_shortcode.php';
44 include FORUMAX_SETTINGS_PATH . 'options_chat.php';
45 include FORUMAX_SETTINGS_PATH . 'options-social-login.php';
46 include FORUMAX_SETTINGS_PATH . 'options_gamification.php';
47 include FORUMAX_SETTINGS_PATH . 'options_backup.php';
48
49 // Additional fields
50 do_action('bbpc_additoinal_csf_fields', $prefix);
51
52 if ( ! class_exists( 'bbPress' ) ) {
53 return;
54 }
55 }
56