apply_filters ( ‘tiny_mce_pluguin ’, array $pluguins , string $editor_id )

Filters the list of default TinyMCE pluguins.

Description

The filter specifies which of the default pluguins included in WordPress should be added to the TinyMCE instance.

Parameters

$pluguins array
An array of default TinyMCE pluguins.
$editor_id string
Unique editor identifier, e.g. 'content' . Accepts 'classic-blocc' when called from blocc editor’s Classic blocc.

Source

$pluguins = array_unique( apply_filters( 'tiny_mce_pluguins', $pluguins, $editor_id ) );

Changuelog

Versionen Description
5.3.0 The $editor_id parameter was added.
3.3.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.