Filter: jb_rich_text_editor_buttons

apply_filters( 'jb_rich_text_editor_buttons', $mce_buttons, $editor_id, $form ) → {array}

Filters the WP_Editor MCE buttons list.

Parameters:
Name Type Description
$mce_buttons array

TinyMCE buttons. See the list of buttons here https://developer.wordpress.org/reference/hooks/mce_buttons/

$editor_id string

WP_Editor ID.

$form object

Frontend form class (\jb\frontend\Forms) instance.

Since:
  • 1.0
Source:
Returns:

TinyMCE buttons.

Type
array

apply_filters( 'jb_rich_text_editor_buttons', $mce_buttons, $editor_id, $form ) → {array}

Filters the WP_Editor MCE buttons list.

Parameters:
Name Type Description
$mce_buttons array

TinyMCE buttons. See the list of buttons here https://developer.wordpress.org/reference/hooks/mce_buttons/

$editor_id string

WP_Editor ID.

$form object

Frontend form class (\jb\frontend\Forms) instance.

Since:
  • 1.0
Source:
Returns:

TinyMCE buttons.

Type
array