Make WordPress Core


Ignore:
Timestamp:
11/09/2021 12:58:08 PM (3 years ago)
Author:
ocean90
Message:

Editor, Docs: Add documentation for the $block_editor_context parameter of the block_editor_rest_api_preload_paths hook.

See #52920.
See #53399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-editor.php

    r52056 r52072  
    437437     * @since 5.8.0
    438438     *
    439      * @param string[] $preload_paths Array of paths to preload.
     439     * @param string[]                $preload_paths        Array of paths to preload.
     440     * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
    440441     */
    441442    $preload_paths = apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context );
Note: See TracChangeset for help on using the changeset viewer.