get_query_pagination_arrow


get_query_pagination_arrow ( $block, $is_next )

Parameters:
  • (WP_Block) block Block instance.
  • (bool) is_next Flag for handling `next/previous` blocks.
Returns:
  • (string|null) The pagination arrow HTML or null if there is none.
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_comments_pagination_arrow, get_the_posts_pagination, get_user_option, get_query_var, register_block_core_query_pagination_previous

Top Google Results

User discussions

wpseek mobile