wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_prepare_block_type › WordPress Filter Hooks
Since5.5.0
Deprecatedn/a
› apply_filters( 'rest_prepare_block_type', $response, $block_type, $request )
Parameters: (3) |
|
Defined at: | |
Codex: |
Filters a block type returned from the REST API.
Allows modification of the block type data right before it is returned.
Related Functions: register_block_type, unregister_block_type, register_block_style, unregister_block_style, get_allowed_block_types, register_block_template