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.


Top ↑

Source

File: wp-includes/post-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.