Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
git-svn-id: https://develop.svn.wordpress.org/trunk@13479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
98a2f10711
commit
6f3f1d0806
|
@ -570,6 +570,7 @@ function wp_link_pages($args = '') {
|
||||||
);
|
);
|
||||||
|
|
||||||
$r = wp_parse_args( $args, $defaults );
|
$r = wp_parse_args( $args, $defaults );
|
||||||
|
$r = apply_filters( 'wp_link_pages_args', $r );
|
||||||
extract( $r, EXTR_SKIP );
|
extract( $r, EXTR_SKIP );
|
||||||
|
|
||||||
global $post, $page, $numpages, $multipage, $more, $pagenow;
|
global $post, $page, $numpages, $multipage, $more, $pagenow;
|
||||||
|
|
Loading…
Reference in New Issue