get_query_pagination_arrow


get_query_pagination_arrow ( $block, $is_next )

Parameters:
  • (WP_Block) block Block instance.
  • (bool) is_next Flag for hanlding `next/previous` blocks.
Returns:
  • (string|null) Returns the constructed WP_Query arguments.
Defined at:

Description

Helper function that returns the proper pagination arrow html for `QueryPaginationNext` and `QueryPaginationPrevious` blocks based on the provided `paginationArrow` from `QueryPagination` context.It's used in QueryPaginationNext and QueryPaginationPrevious blocks.

Related Functions

get_the_posts_pagination, get_user_option, get_query_var, register_block_core_query_pagination_previous, register_block_core_query_pagination

Top Google Results

User discussions

wpseek mobile