PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.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 All 30 releases
← All changes | includes/admin/options/options_shortcode.php +28 -28 2.0.0 → 2.5.0 View file →
@@ -1,29 +1,29 @@
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 - ]
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__( 'Shown to logged-out visitors on single topics, single forums, and anywhere you paste this shortcode. Leave [forumax_login_form] to use the built-in form.', 'forumax' ),
23 + 'id' => 'topic_login_shortcode',
24 + 'type' => 'text',
25 + 'default' => '[forumax_login_form]',
26 + ]
27 + ],
28 + ]
29 29 );