PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / trunk
Forumax – AI Powered Advanced Community Forum Plugin vtrunk
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_shortcode.php

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

29 lines 1.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' => __( 'Shortcodes', 'forumax' ),
7 'icon' => 'dashicons dashicons-editor-code',
8 'fields' => [
9 [
10 'id' => 'bbpc_shortcode',
11 'type' => 'text',
12 'title' => esc_html__( 'My Profile URL', 'forumax' ),
13 'subtitle' => esc_html__( 'Use this shortcode to get the user\'s own profile URL', 'forumax' ),
14 'default' => '[forumax_profile_link]',
15 'attributes' => array(
16 'readonly' => 'readonly',
17 ),
18 'class' => 'st-pro-notice'
19 ],
20 [
21 'title' => esc_html__('Login Form Shortcode', 'forumax'),
22 'subtitle' => esc_html__('You can replace the default login form with your own login form shortcode.', 'forumax'),
23 'id' => 'topic_login_shortcode',
24 'type' => 'text',
25 'default' => '[forumax_login_form]',
26 ]
27 ],
28 ]
29 );