bp_nouveau_messages_at_on_tinymce_init( $settings, $editor_id )
Display tinyMCE editor when editing messages in Dashboard.
Description
Source
File: bp-templates/bp-nouveau/includes/messages/functions.php
function bp_nouveau_messages_at_on_tinymce_init( $settings, $editor_id ) {
// We only apply the mentions init to the visual post editor in the WP dashboard.
if ( 'message_content' === $editor_id ) {
$settings['init_instance_callback'] = 'window.bp.Nouveau.Messages.tinyMCEinit';
}
return $settings;
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.0.0 | 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.