Add filter to the args in wp_link_pages(). fixes #12158 props greenshady

git-svn-id: http://svn.automattic.com/wordpress/trunk@13479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-02-28 01:46:39 +00:00
parent 2610af8b7b
commit 2e2c626d97

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;