Opened 15 years ago
Closed 15 years ago
#12158 closed enhancement (fixed)
Hook for wp_link_pages arguments
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
Every so often, I have a theme user that needs to change the output of wp_link_pages()
to something that suits their site. Rather than having them edit each template file that calls this function, we could simply overwrite this using a filter hook.
As far as I know, there's no way to change this without literally opening a theme's templates and changing the parameters.
I propose adding the wp_link_pages_args
filter hook, which only requires one extra line of code.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Adds
wp_link_pages_args
hook.