Is it possible to modify or give arguments for the original — in the functions.php file, not in theme
files — without wrapping it in a custom function?
No.
There are no hooks that allow modifying the arguments to this function. Wrapping it in your own function is the way to go. There’s nothing inherently smarter or superior or more smarter about using filters.
Related Posts:
- paginate_links() don’t properly work in search.php?
- How to paginate the get_users function?
- Pagination adding page-numbers dots when using ‘mid_size’ => 0
- Paged Single Post doesn’t redirect to the main url after Removing Pagination
- How to style current page number (wp_link_pages)?
- Customize “the_posts_pagination” and put list instead div
- Find first image on paginated post for Pinterest
- Post Pagination Showing Same Posts Every Page
- Generating rel=prev and rel=next only on wordpress categories
- Shortcode pagination not advancing
- get_next_posts_link not working without parameter max_num_pages
- Pagination in relation to archive.php
- paginate_links() don’t properly work in search.php?
- the_posts_pagination() function returns missing page numbering on some blog pages
- Custom Query Not Paginating
- Where to call my pagination function?
- Remove ‘page-numbers’ class from prev and next tags
- Unable to Change “Pages:” Before WP_LINK_PAGES
- How do I make a custom “Read More Blogs” button for my blog page
- I want to customize the_posts_navigation function by replacing prev and next with images
- Shortcode with pagination advancing multiple queries
- Pagination won’t work on custom page
- Pagination not working on my archive page for a custom post type
- Display page number on custom page title function
- WordPress not showing pagination links
- Pagination in Search result
- Adding pagination to custom WordPress function
- Modifying Page-Links format
- WordPress is adding pagination for all pages not only for blog page, How to remove pagination for all pages except blog/posts page?
- Insert image between X number of posts but on specific paginated pages?
- What’s the difference between WordPress random_int() and PHP built-in function random_int()?
- Is it ok to use a function to output the text domain name in a wordpress theme
- Issue with wp_get_attachment_image() and SVG file type
- deregister scripts on certain page
- Pagination custom query
- Changing a function in function.php to a shortcode – for listing categories of only a certain post type
- Using get_terms for custom taxonomy in functions.php
- How to remove the embed_footer?
- Hide some items from Screen options in dashboard for products
- Editing or filtering the output of the Genesis navigation
- How to get last updated row or ID in wordpress
- edit role display name and label name without plugins
- is_plugin_active() not properly returning true
- Display gallery on top before content
- wp_dropdown_categories and custom attribute
- Converting html to wordpress images not showing
- Redirect specific page in WordPress for first time visit
- How can I add text to all posts/pages/categories/homepage etc
- Related post using post title
- Move Post to different category if post_meta field is 0 or is 2 days old?
- Excerpts are not displayed by a shortcode on category pages
- Getting comment count per post not working
- Functions.php Problem
- It does not work concatenation in function.php
- Is There Any Built In WP Functionality For Combining Form Fields To Return Specific Data
- How would I go about replacing this function in my child theme located in inc/template-tags.php
- Condition OR for current user ID
- Retrieve a value from Yoast SEO to use to set a default twitter card image honoring overrides
- If user is logged-in display/hide something
- Visual Composer creating own shortcodes with vc_map() to return simple Image
- Adding javascript to functions.php causes problems with my template
- Where do I store custom functions that call custom page template files?
- Excerpt for pages not showing
- How can I add a class to a nav li depending on URL?
- Access category within rss2_head hook?
- How to Extend login session times to a Month
- Contact Form 7 If Condition
- How to include any template using Shortcode fuction?
- display a div on ervery site but not frontpage?
- Using depth=n in wp_list_pages
- shorthand syntax for custom fields
- How do I pull avatar from post using BuddyPress? [closed]
- Replace header image on all other pages but home – URL issue
- Child theme functions.php
- Get users with different roles and call function on each of them (user_meta)
- Getting images from media library and get_the_date() not working
- WordPress show bad the php hour and date
- Using add_image_size in functions.php to get original uploaded file
- How do I change where “You must be logged in to comment” directs users?
- Login cookies blocked after customizing hashing method
- Enable CORS Request for hostname using IP address
- How to use `foreach()` in ajax call
- Change default color scheme in twentyfifteen child theme?
- Restrict access if logged out except for homepage
- DISABLE wordpress upgrade page
- How to list out all values from the get_body_class array
- Moving CDN jQuery to footer does not work?
- Function not recognizing page id?
- Register a widget area when a theme option has been saved?
- Blank child theme – functions.php problem
- Pull random comment from specific post, display on homepage with shortcode
- Hiding Google Analytics code based on theme options
- How do I make my child theme’s CSS update when I save it?
- User’s Comments Number: Storing it in a meta field for different uses
- Show one post per author and order by custom field
- Text before price on WooCom
- Warning: call_user_func_array() expects parameter 1 to be a valid callback
- Change Post status based on custom field date +1 day
- How to add height and width dimensions automatically to archive descriptions
- How to store page-{id}.php templates in custom folder