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: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
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.