bbp_admin_setting_callback_group_forums_root_id()
Replies per page setting field
Description
Source
File: bp-forums/admin/settings.php
function bbp_admin_setting_callback_group_forums_root_id() {
// Output the dropdown for all forums
bbp_dropdown( array(
'selected' => bbp_get_group_forums_root_id(),
'show_none' => __( '- Forums Directory -', 'buddyboss' ),
'orderby' => 'title',
'order' => 'ASC',
'select_id' => '_bbp_group_forums_root_id',
'disable_categories' => false,
'disabled' => '_bbp_group_forums_root_id'
) ); ?>
<label for="_bbp_group_forums_root_id"><?php esc_html_e( 'is the parent for all group forums', 'buddyboss' ); ?></label>
<p class="description"><?php esc_html_e( 'Using the Forums Directory is not recommended. Changing this does not move existing forums.', 'buddyboss' ); ?></p>
<?php
}
Changelog
| Version | Description |
|---|---|
| bbPress (r3575) | 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.