Changes between Initial Version and Version 4 of Ticket #53392
- Timestamp:
- 06/13/2021 05:27:55 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53392
- Property Keywords has-patch added
-
Ticket #53392 – Description
initial v4 28 28 29 29 {{{#!php 30 add_filter( 'the_posts_ navigation_args', 'child_theme_the_posts_navigation_args' );30 add_filter( 'the_posts_pagination_args', 'child_theme_the_posts_pagination_args' ); 31 31 32 public function child_theme_the_posts_ navigation_args( $args ) {32 public function child_theme_the_posts_pagination_args( $args ) { 33 33 $args['prev_text'] = __( 'Previous', 'child-theme' ); 34 34 $args['next_text'] = __( 'Next', 'child-theme' ); … … 38 38 }}} 39 39 40 and not have to copy the parent theme's template into the child theme just so that it can change the args passed to `the_posts_ navigation()`.40 and not have to copy the parent theme's template into the child theme just so that it can change the args passed to `the_posts_pagination()`.