block_core_query_disable_enhanced_pagination


block_core_query_disable_enhanced_pagination ( $parsed_block )

Parameters:
  • (array) parsed_block The block being rendered.
Returns:
  • (string) Returns the parsed block, unmodified.
Defined at:

Description

Traverse the tree of blocks looking for any plugin block (i.e., a block from an installed plugin) inside a Query block with the enhanced pagination enabled. If at least one is found, the enhanced pagination is effectively disabled to prevent any potential incompatibilities.

Related Functions

render_block_core_query_pagination, register_block_core_query_pagination, render_block_core_query_pagination_next, register_block_core_query_pagination_next, render_block_core_query_pagination_numbers

Top Google Results

User discussions

wpseek mobile