| @@ -2,21 +2,28 @@ | ||
| 2 | 2 | // Create a section. |
| 3 | 3 | CSF::createSection( |
| 4 | 4 | $prefix, |
| 5 | 5 | [ |
| 6 | - 'title' => __( 'Shortcodes', 'bbp-core' ), | |
| 6 | + 'title' => __( 'Shortcodes', 'forumax' ), | |
| 7 | 7 | 'icon' => 'dashicons dashicons-editor-code', |
| 8 | 8 | 'fields' => [ |
| 9 | 9 | [ |
| 10 | 10 | 'id' => 'bbpc_shortcode', |
| 11 | 11 | 'type' => 'text', |
| 12 | - 'title' => esc_html__( 'My Profile URL', 'bbp-core' ), | |
| 13 | - 'subtitle' => esc_html__( 'Use this shortcode to get the user\'s own profile URL', 'bbp-core' ), | |
| 14 | - 'default' => '[bbpc_profile_link]', | |
| 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 | 15 | 'attributes' => array( |
| 16 | 16 | 'readonly' => 'readonly', |
| 17 | 17 | ), |
| 18 | 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]', | |
| 19 | 26 | ] |
| 20 | 27 | ], |
| 21 | 28 | ] |
| 22 | 29 | ); |