Title: paginate_links
Published: April 25, 2014
Last modified: May 20, 2026

---

# apply_filters( ‘paginate_links’, string $link )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#wp--skip-link--target)

Filters the paginated links for the given archive pages.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#parameters)󠁿

 `$link`string

The paginated link URL.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#source)󠁿

    ```php
    esc_url( apply_filters( 'paginate_links', $link ) ),
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/general-template.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/general-template.php#L4777)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/general-template.php#L4777-L4777)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#related)󠁿

| Used by | Description | 
| [paginate_links()](https://developer.wordpress.org/reference/functions/paginate_links/)`wp-includes/general-template.php` |

Retrieves paginated links for archive post pages.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/paginate_links/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.0.0](https://developer.wordpress.org/reference/since/3.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fpaginate_links%2F)
before being able to contribute a note or feedback.