bbp_admin_setting_callback_forum_slug()

Forum slug setting field

Description

Source

File: bp-forums/admin/settings.php

1002
1003
1004
1005
1006
1007
1008
1009
1010
function bbp_admin_setting_callback_forum_slug() {
?>
 
    <input name="_bbp_forum_slug" id="_bbp_forum_slug" type="text" class="regular-text code" value="<?php bbp_form_option( '_bbp_forum_slug', 'forum', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_forum_slug' ); ?> />
 
<?php
    // Slug Check
    bbp_form_slug_conflict_check( '_bbp_forum_slug', 'forum' );
}

Changelog

Changelog
Version Description
bbPress (r2786) 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.