| @@ -7,16 +7,16 @@ | ||
| 7 | 7 | // Create options. |
| 8 | 8 | CSF::createOptions( |
| 9 | 9 | $prefix, |
| 10 | 10 | [ |
| 11 | - 'framework_title' => __( 'BBP Core Settings', 'bbp-core' ), | |
| 12 | - 'framework_class' => 'bbp-core-settings', | |
| 11 | + 'framework_title' => __( 'Forumax Settings', 'forumax' ), | |
| 12 | + 'framework_class' => 'forumax-settings', | |
| 13 | 13 | 'theme' => 'dark', |
| 14 | 14 | |
| 15 | - 'menu_title' => __( 'BBPC Settings', 'bbp-core' ), | |
| 16 | - 'menu_slug' => 'bbp-core-settings', | |
| 15 | + 'menu_title' => __( 'Settings', 'forumax' ), | |
| 16 | + 'menu_slug' => 'forumax-settings', | |
| 17 | 17 | 'menu_type' => 'submenu', |
| 18 | - 'menu_parent' => 'bbp-core', | |
| 18 | + 'menu_parent' => 'forumax', | |
| 19 | 19 | 'show_bar_menu' => false, |
| 20 | 20 | |
| 21 | 21 | // Footer. |
| 22 | 22 | 'footer_text' => '', |
| @@ -22,24 +22,28 @@ | ||
| 22 | 22 | 'footer_text' => '', |
| 23 | 23 | 'footer_after' => '', |
| 24 | 24 | 'footer_credit' => '', |
| 25 | 25 | // customizer |
| 26 | - 'show_in_customizer' => bbpc_get_opt( 'customizer_visibility' ), | |
| 26 | + 'show_in_customizer' => forumax_get_opt( 'customizer_visibility' ), | |
| 27 | 27 | ] |
| 28 | 28 | ); |
| 29 | 29 | |
| 30 | 30 | // Widgets Settings. |
| 31 | - define( 'BBPC_SETTINGS_PATH', plugin_dir_path( __FILE__ ) ); | |
| 31 | + define( 'FORUMAX_SETTINGS_PATH', plugin_dir_path( __FILE__ ) ); | |
| 32 | 32 | |
| 33 | - include BBPC_SETTINGS_PATH . 'options_general.php'; | |
| 34 | - include BBPC_SETTINGS_PATH . 'options_admin_ui.php'; | |
| 35 | - include BBPC_SETTINGS_PATH . 'options_topics.php'; | |
| 36 | - include BBPC_SETTINGS_PATH . 'options_replies.php'; | |
| 37 | - include BBPC_SETTINGS_PATH . 'options_voting.php'; | |
| 38 | - include BBPC_SETTINGS_PATH . 'options_attachments.php'; | |
| 39 | - include BBPC_SETTINGS_PATH . 'options_mini_profile.php'; | |
| 40 | - include BBPC_SETTINGS_PATH . 'options_notification.php'; | |
| 41 | - include BBPC_SETTINGS_PATH . 'options_shortcode.php'; | |
| 33 | + include FORUMAX_SETTINGS_PATH . 'options_general.php'; | |
| 34 | + include FORUMAX_SETTINGS_PATH . 'options_admin_ui.php'; | |
| 35 | + include FORUMAX_SETTINGS_PATH . 'options_topics.php'; | |
| 36 | + include FORUMAX_SETTINGS_PATH . 'options_replies.php'; | |
| 37 | + include FORUMAX_SETTINGS_PATH . 'options_users.php'; | |
| 38 | + include FORUMAX_SETTINGS_PATH . 'options_voting.php'; | |
| 39 | + include FORUMAX_SETTINGS_PATH . 'options_attachments.php'; | |
| 40 | + include FORUMAX_SETTINGS_PATH . 'options_mini_profile.php'; | |
| 41 | + include FORUMAX_SETTINGS_PATH . 'options_notification.php'; | |
| 42 | + include FORUMAX_SETTINGS_PATH . 'options_shortcode.php'; | |
| 43 | + include FORUMAX_SETTINGS_PATH . 'options_chat.php'; | |
| 44 | + include FORUMAX_SETTINGS_PATH . 'options-social-login.php'; | |
| 45 | + include FORUMAX_SETTINGS_PATH . 'options_backup.php'; | |
| 42 | 46 | |
| 43 | 47 | // Additional fields |
| 44 | 48 | do_action('bbpc_additoinal_csf_fields', $prefix); |
| 45 | 49 | |
| @@ -46,5 +50,4 @@ | ||
| 46 | 50 | if ( ! class_exists( 'bbPress' ) ) { |
| 47 | 51 | return; |
| 48 | 52 | } |
| 49 | 53 | } |
| 50 | - | |