insert_hooked_blocks_into_rest_response


insert_hooked_blocks_into_rest_response ( $response, $post )

Parameters:
  • (WP_REST_Response) response The response object.
  • (WP_Post) post Post object.
Returns:
  • (WP_REST_Response) The response object.
Defined at:

Description

Hooks into the REST API response for the core/navigation block and adds the first and last inner blocks.

Related Functions

block_core_navigation_insert_hooked_blocks_into_rest_response, insert_hooked_blocks, register_block_core_rss, get_hooked_blocks, render_block_core_rss

Top Google Results

User discussions

wpseek mobile