WordPress.org

Make WordPress Core

Opened 3 months ago

#53859 new feature request

Add a filter hook to modify the paginate links arguments

Reported by: ibachal Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Permalinks Keywords:
Focuses: Cc:

Description

A filter hook to modify arguments in the function paginate_links()

https://developer.wordpress.org/reference/functions/paginate_links/

This filter hook can be added as below:

Current:

$args = wp_parse_args( $args, $defaults );

After:

$args = apply_filters( 'paginate_links_args', wp_parse_args( $args, $defaults ) );

Change History (0)

Note: See TracTickets for help on using tickets.