<?php
// Create a section.
CSF::createSection(
    $prefix,
    [
        'title'  => __( 'Shortcodes', 'forumax' ),
		'icon'   => 'dashicons dashicons-editor-code',
        'fields' => [
            [
                'id'         => 'bbpc_shortcode',
                'type'       => 'text',
                'title'      => esc_html__( 'My Profile URL', 'forumax' ),
                'subtitle'   => esc_html__( 'Use this shortcode to get the user\'s own profile URL', 'forumax' ),
                'default'    => '[forumax_profile_link]',
                'attributes' => array(
                    'readonly' => 'readonly',
                ),
                'class'   => 'st-pro-notice'
            ],
            [
                'title'     => esc_html__('Login Form Shortcode', 'forumax'),
                'subtitle' => esc_html__('You can replace the default login form with your own login form shortcode.', 'forumax'),
                'id'        => 'topic_login_shortcode',
                'type'      => 'text',
                'default'   => '[forumax_login_form]',
            ]
        ],
    ]
);