WPDev.one
Core Function
View Source on Trac ↗

get_query_pagination_arrow()

get_query_pagination_arrow( mixed $block, mixed $is_next )

Helper function that returns the proper pagination arrow HTML for

Parameters 2 required

Name / Type Description
$block
WP_Block

Block instance.

Required
$is_next
bool

Flag for handling `next/previous` blocks.

Required

Return Value

((string)
| null) The pagination arrow HTML or null if there is none.

Function Information

Since Version
5.9.0
Source File
wp-includes/blocks.php
Advertisement