[wp-trac] [WordPress Trac] #53859: Add a filter hook to modify the paginate links arguments

WordPress Trac noreply at wordpress.org
Mon Sep 30 09:53:58 UTC 2024


#53859: Add a filter hook to modify the paginate links arguments
-----------------------------+------------------------------
 Reporter:  ibachal          |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Permalinks       |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by webmandesign):

 Adding more context:

 In **block themes** there is no way for theme author to modify output of
 Pagination block other than tweaking its HTML via `render_block filter`.

 Having a filter to modify the `paginate_links()` arguments would resolve
 the issue.

 Can someone provide feedback whether introducing this filter is OK?
 Thanks!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53859#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list