apply_filters( 'block_editor_rest_api_preload_paths', string[] $preload_paths )

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

Parameters

$preload_paths

(string[]) Array of paths to preload.

Source

File: wp-includes/block-editor.php

View on Trac

Changelog

Version Description
5.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_editor_rest_api_preload_paths