wp_link_pages_link WordPress Filter Hook
The wp_link_pages_link hook is a great way to add links to your pages. This hook allows you to add a link to your pages, which can be very useful if you want to add a link to your pages in your posts or pages. This hook can be used in your themes or plugins, or in your own code.
apply_filters( 'wp_link_pages_link', string $link , int $i ) #
Filters the HTML output of individual page number links.
Parameters
- $link
(string)The page number HTML output.
- $i
(int)Page number for paginated posts' page links.
Source
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |