bbp_admin_setting_callback_use_wp_editor()
Use the WordPress editor setting field
Description Description
Source Source
File: includes/admin/settings.php
function bbp_admin_setting_callback_use_wp_editor() {
?>
<input name="_bbp_use_wp_editor" id="_bbp_use_wp_editor" type="checkbox" value="1" <?php checked( bbp_use_wp_editor( true ) ); bbp_maybe_admin_setting_disabled( '_bbp_use_wp_editor' ); ?> />
<label for="_bbp_use_wp_editor"><?php esc_html_e( 'Add toolbar & buttons to textareas to help with HTML formatting', 'bbpress' ); ?></label>
<?php
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |