paginate_links WordPress Filter Hook

Paginate_links is a hook used in Wordpress to create pagination for posts and pages. It is a highly versatile hook, allowing for a great deal of customization. By default, it will create a simple numbered pagination, but it can be customized to create any type of pagination you need.

apply_filters( 'paginate_links', string $link ) #

Filters the paginated links for the given archive pages.


Parameters

$link

(string)The paginated link URL.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.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.

Show More
Show More