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'.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.