wp_link_pages_args WordPress Filter Hook
The wp_link_pages_args hook allows you to modify the default arguments for the wp_link_pages() function. This can be useful if you need to change the way paginated links are displayed on your site.
apply_filters( 'wp_link_pages_args', array $parsed_args ) #
Filters the arguments used in retrieving page links for paginated posts.
Parameters
- $parsed_args
(array)An array of page link arguments. See wp_link_pages() for information on accepted arguments.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |