PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.0.0
Forumax – AI Powered Advanced Community Forum Plugin v2.0.0
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 / options_replies.php

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

62 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // Create a section.
3 CSF::createSection(
4 $prefix,
5 [
6 'title' => __( 'Topic Replies', 'forumax' ),
7 'icon' => 'dashicons dashicons-format-chat',
8 'fields' => [
9 [
10 'id' => 'is_bbpc_insert_media',
11 'type' => 'switcher',
12 'default' => 1,
13 'title' => __( 'BBPC Insert Media', 'forumax' ),
14 'subtitle' => __( 'Enable/Disable the custom image insert button with upload & URL modal for editors.', 'forumax' ),
15 'class' => 'st-pro-notice'
16 ],
17 [
18 'id' => 'is_auto_approval_replies',
19 'type' => 'switcher',
20 'default' => true,
21 'title' => __( 'Auto Approval', 'forumax' ),
22 'subtitle' => __( 'Enable/ Disable Auto Approval feature.', 'forumax' ),
23 'class' => 'st-pro-notice'
24 ],
25 [
26 'id' => 'is_attachment_replies',
27 'type' => 'button_set',
28 'title' => __( 'Replies with Attachments', 'forumax' ),
29 'subtitle' => __( 'Approve or Unapprove if attachment is added with the reply', 'forumax' ),
30 'class' => 'st-pro-notice',
31 'options' => array(
32 '1' => 'Approve',
33 '0' => 'Unapprove',
34 ),
35 'default' => '1',
36 'dependency' => [ 'is_auto_approval_replies', '==', 'true', ],
37 ],
38 [
39 'id' => 'is_private_replies',
40 'type' => 'switcher',
41 'default' => 1,
42 'title' => __( 'Private Replies', 'forumax' ),
43 'subtitle' => __( 'Enable/ Disable Private Replies feature.', 'forumax' ),
44 ],
45 [
46 'id' => 'anonymous_reply',
47 'type' => 'switcher',
48 'title' => __( 'Anonymous Reply', 'forumax' ),
49 'subtitle' => __( 'Allow anonymous to reply a topic.', 'forumax' ),
50 'class' => 'st-pro-notice'
51 ],
52 [
53 'id' => 'anonymous_reply_label',
54 'type' => 'text',
55 'title' => __( 'Anonymous Label', 'forumax' ),
56 'default' => __( 'Post Anonymously', 'forumax' ),
57 'dependency' => [ 'anonymous_reply', '==', 'true', ],
58 'class' => 'st-pro-notice'
59 ]
60 ],
61 ]
62 );