wp_editor_settings

Advertisement

Summery Summery

Filters the wp_editor() settings.

Syntax Syntax

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

Parameters Parameters

$settings

Array of editor arguments.

$editor_id

Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.

Source Source

File: wp-includes/class-wp-editor.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

See also See also

Advertisement

Leave a Reply