Warning: This hook has been deprecated. Use the ‘block_editor_rest_api_preload_paths’ filter instead.

apply_filters_deprecated( 'block_editor_preload_paths', string[] $preload_paths, WP_Post $selected_post )

Filters the array of paths that will be preloaded.

Description Description

Preload common data by specifying an array of REST API paths that will be preloaded.

Top ↑

Parameters Parameters


(string[]) Array of paths to preload.


(WP_Post) Post being edited.

Top ↑

Source Source

File: wp-includes/block-editor.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.8.0 Use the 'block_editor_rest_api_preload_paths' filter instead.
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.