Filter: gform_rich_text_editor_buttons . $mce_filter
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$this->formId$this->id
Example hook names:
gform_rich_text_editor_buttons . $mce_filter(base hook)gform_rich_text_editor_buttons . $mce_filter_1(with first modifier value)gform_rich_text_editor_buttons . $mce_filter_1_2(with all modifier values)
Filters the buttons within the TinyMCE editor
Parameters
| Name | Type | Description |
|---|---|---|
| $mce_buttons | array | Buttons to be included. |
| $editor_id | string | HTML ID of the field. |
| $this | object | The field object |
Since
Source
Defined in includes/fields/class-gf-field-textarea.php at line 349