WordPress at Your Fingertips
filter is not described

teeny_mce_buttons filter-hook . WP 2.7.0

Filters the list of teenyMCE buttons (Text tab).


add_filter( 'teeny_mce_buttons', 'filter_function_name_5777', 10, 2 );
function filter_function_name_5777( $mce_buttons, $editor_id ){
	// filter...

	return $mce_buttons;
An array of teenyMCE buttons.
Unique editor identifier, e.g. 'content'.


Since 2.7.0 Introduced.
Since 3.3.0 The $editor_id parameter was added.

Where the hook is called

wp-includes/class-wp-editor.php 627
$mce_buttons   = apply_filters( 'teeny_mce_buttons', $mce_buttons, $editor_id );

Where in WP core the hook is used WordPress

Usage not found.