block_core_navigation_insert_hooked_blocks_into_rest_response


block_core_navigation_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, insert_hooked_blocks_into_rest_response, block_core_navigation_set_ignored_hooked_blocks_metadata, block_core_navigation_update_ignore_hooked_blocks_meta, block_core_navigation_from_block_get_post_ids

Top Google Results

User discussions

wpseek mobile