[wp-trac] [WordPress Trac] #44018: Adding a filter in paginate_links function

WordPress Trac noreply at wordpress.org
Tue Jan 5 22:33:55 UTC 2021


#44018: Adding a filter in paginate_links function
------------------------------+---------------------
 Reporter:  re.ardestani      |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.7
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch commit


Comment:

 I tested the patch, it still applies cleanly and I was able to filter the
 paginate links HTML output using the following test filter:

 {{{
 add_filter( 'paginate_links_output', function( $r ) { return 'test'; } );
 }}}

 Marking this for `commit`.

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


More information about the wp-trac mailing list