#52530 closed enhancement (duplicate)
paginate_links() result filter
Reported by: | Tkama | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | |
Focuses: | template | Cc: |
Description
There is no way to change result HTML for:
- the_posts_pagination()
- get_the_posts_pagination()
- paginate_comments_links()
- paginate_links()
It's better to give this opportunity by adding corresponding filter, see attached .diff file.
Attachments (2)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @Tkama!
Changeset [49976] added a filter in trunk, to be included in the 5.7 release. After updating your SVN, please try using the
paginate_links_output
filter. (You could also use the 5.7 beta instead of SVN.)If it is not adequate, please add a comment on ticket #44018. And if the filter meets your needs, it would help to have an example (or more than one) for the dev note.