bbp_admin_settings()

The main settings page

Description

Source

File: bp-forums/admin/settings.php

1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
function bbp_admin_settings() {
?>
 
    <div class="wrap">
 
        <h2><?php esc_html_e( 'Forums Settings', 'buddyboss' ) ?></h2>
 
        <form action="options.php" method="post">
 
            <?php settings_fields( 'bbpress' ); ?>
 
            <?php do_settings_sections( 'bbpress' ); ?>
 
            <p class="submit">
                <input type="submit" name="submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'buddyboss' ); ?>" />
            </p>
        </form>
    </div>
 
<?php
}

Changelog

Changelog
Version Description
bbPress (r2643) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.