apply_filters( 'wp_editor_settings', array $settings, string $editor_id )

Filters the wp_editor() settings.


Description

Top ↑

See also


Top ↑

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.

Top ↑

Source

File: wp-includes/class-wp-editor.php. View all references

$settings = apply_filters( 'wp_editor_settings', $settings, $editor_id );


Top ↑

Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes

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