apply_filters( 'wp_editor_settings', array $settings , string $editor_id )
Filters the wp_editor() settings.
Description
See also
Parameters
-
$settings
array -
Array of editor arguments.
-
$editor_id
string -
Unique editor identifier, e.g.
'content'
. Accepts'classic-block'
when called from block editor's Classic block.
Source
File: wp-includes/class-wp-editor.php
.
View all references
$settings = apply_filters( 'wp_editor_settings', $settings, $editor_id );
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |