Filter hook 'block_editor_rest_api_preload_paths'

in WP Core File wp-includes/block-editor.php at line 703

Description

Filters the array of REST API paths that will be used to preloaded common data for the block editor.

Occurrences

Filename Line Number
wp-includes/block-editor.php 703

Parameters

Type Name Description
(string|string[])[] $preload_paths Array of paths to preload.
WP_Block_Editor_Context $block_editor_context The current block editor context.

PHP Doc

/**
	 * Filters the array of REST API paths that will be used to preloaded common data for the block editor.
	 *
	 * @since 5.8.0
	 *
	 * @param (string|string[])[]     $preload_paths        Array of paths to preload.
	 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
	 */