bbp_admin_setting_callback_topic_slug()

Topic slug setting field

Description

Source

File: bp-forums/admin/settings.php

1019
1020
1021
1022
1023
1024
1025
1026
1027
function bbp_admin_setting_callback_topic_slug() {
?>
 
    <input name="_bbp_topic_slug" id="_bbp_topic_slug" type="text" class="regular-text code" value="<?php bbp_form_option( '_bbp_topic_slug', 'discussion', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_topic_slug' ); ?> />
 
<?php
    // Slug Check
    bbp_form_slug_conflict_check( '_bbp_topic_slug', 'discussion' );
}

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.