PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 1.3.2
Forumax – AI Powered Advanced Community Forum Plugin v1.3.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 / options_replies.php

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

33 lines 996 B
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', 'bbp-core' ),
7 'icon' => 'dashicons dashicons-format-chat',
8 'fields' => [
9 [
10 'id' => 'is_private_replies',
11 'type' => 'switcher',
12 'default' => 1,
13 'title' => __( 'Private Replies', 'bbp-core' ),
14 'subtitle' => __( 'Enable/ Disable Private Replies feature.', 'bbp-core' ),
15 ],
16 [
17 'id' => 'anonymous_reply',
18 'type' => 'switcher',
19 'title' => __( 'Anonymous Reply', 'bbp-core' ),
20 'subtitle' => __( 'Allow anonymous to reply a topic.', 'bbp-core' ),
21 'class' => 'st-pro-notice'
22 ],
23 [
24 'id' => 'anonymous_reply_label',
25 'type' => 'text',
26 'title' => __( 'Anonymous Label', 'bbp-core' ),
27 'default' => __( 'Post Anonymously', 'bbp-core' ),
28 'dependency' => [ 'anonymous_reply', '==', 'true', ],
29 'class' => 'st-pro-notice'
30 ]
31 ],
32 ]
33 );