Hook for wp_link_pages arguments
|Reported by:||greenshady||Owned by:|
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.