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:
Andrew Nacin 2010-02-28 01:46:39 +00:00
parent 98a2f10711
commit 6f3f1d0806
1 changed files with 1 additions and 0 deletions

View File

@ -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;