Snippet: Alter Default Numbered Pagination Settings
/**
* Example for changing pagination arguments.
*/
add_filter( 'totaltheme/pagination/standard/args', function( $args ) {
$args['prev_text'] = 'Previous';
$args['next_text'] = 'Next';
return $args;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
We recommend Code Snippets (100% Free) or WPCode (sponsored)