bbp_admin_setting_callback_view_slug()

View slug setting field

Description

Source

File: bp-forums/admin/settings.php

1071
1072
1073
1074
1075
1076
1077
1078
1079
function bbp_admin_setting_callback_view_slug() {
?>
 
    <input name="_bbp_view_slug" id="_bbp_view_slug" type="text" class="regular-text code" value="<?php bbp_form_option( '_bbp_view_slug', 'view', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_view_slug' ); ?> />
 
<?php
    // Slug Check
    bbp_form_slug_conflict_check( '_bbp_view_slug', 'view' );
}

Changelog

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