bbp_get_teeny_mce_buttons( array $buttons = array() )
Edit TeenyMCE buttons to match allowedtags
Description
See also
Parameters
- $buttons
-
(Optional)
Default value: array()
Return
(array)
Source
File: bp-forums/common/template.php
2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 | function bbp_get_teeny_mce_buttons( $buttons = array () ) { // Remove some buttons from TeenyMCE $buttons = array_diff ( $buttons , array ( 'underline' , 'justifyleft' , 'justifycenter' , 'justifyright' ) ); // Images //array_push( $buttons, 'image' ); return apply_filters( 'bbp_get_teeny_mce_buttons' , $buttons ); } |
Changelog
Version | Description |
---|---|
bbPress (r4605) | 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.