quicktags_settings WordPress Filter Hook
The quicktags_settings hook allows you to modify the default settings for the Quicktags JavaScript tool in the WordPress visual editor. Quicktags are the buttons that appear above the editor window when you are creating a post or page, and they allow you to quickly insert HTML tags into your content. By default, only a few quicktags are enabled, but with this hook you can enable all quicktags, or customize which quicktags are available.
apply_filters( 'quicktags_settings', array $qtInit , string $editor_id ) #
Filters the Quicktags settings.
Parameters
- $qtInit
(array)Quicktags settings.
- $editor_id
(string)Unique editor identifier, e.g. 'content'.
Source
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |