Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_comments_pagination_arrow()

3 tags 1 category

get_comments_pagination_arrow() — Helper function that returns the proper pagination arrow HTML for CommentsPaginationNext and CommentsPaginationPrevious blocks based on the provided paginationArrow from CommentsPagination context. It’s used in CommentsPaginationNext and CommentsPaginationPrevious blocks.

Inputs: $block (WP_Block): Block instance. $pagination_type (string): Optional. Type of the arrow we will be rendering. Accepts ‘next’ or ‘previous’. Default ‘next’.

Returns string|null: The pagination arrow HTML or null if there is none.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…