Make WordPress Core

Changes between Initial Version and Version 4 of Ticket #53392


Ignore:
Timestamp:
06/13/2021 05:27:55 PM (3 years ago)
Author:
pbiron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53392

    • Property Keywords has-patch added
  • Ticket #53392 – Description

    initial v4  
    2828
    2929{{{#!php
    30 add_filter( 'the_posts_navigation_args', 'child_theme_the_posts_navigation_args' );
     30add_filter( 'the_posts_pagination_args', 'child_theme_the_posts_pagination_args' );
    3131
    32 public function child_theme_the_posts_navigation_args( $args ) {
     32public function child_theme_the_posts_pagination_args( $args ) {
    3333    $args['prev_text'] = __( 'Previous', 'child-theme' );
    3434    $args['next_text'] = __( 'Next', 'child-theme' );
     
    3838}}}
    3939
    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()`.
     40and 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()`.