use_widgets_block_editor WordPress Filter Hook

This hook allows you to register new widgets for use in the block editor. This is useful if you want to add new blocks that represent data from your plugin in the editor interface.

apply_filters( 'use_widgets_block_editor', bool $use_widgets_block_editor ) #

Filters whether to use the block editor to manage widgets.


Parameters

$use_widgets_block_editor

(bool)Whether to use the block editor to manage widgets.


Top ↑

Source

File: wp-includes/widgets.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.8.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.