block_editor_preload_paths

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'block_editor_preload_paths', string[] $preload_paths, WP_Post $post )

Description Description

Filters the array of paths that will be preloaded.

Parameters Parameters

$preload_paths

Array of paths to preload.

$post

Post being edited.

Source Source

File: wp-admin/edit-form-blocks.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply