WordPress.org

Make WordPress Core

Ticket #12158: wp_link_pages.diff

File wp_link_pages.diff, 386 bytes (added by greenshady, 11 years ago)

Adds wp_link_pages_args hook.

  • post-template.php

     
    566566        );
    567567
    568568        $r = wp_parse_args( $args, $defaults );
     569        $r = apply_filters( 'wp_link_pages_args', $r );
    569570        extract( $r, EXTR_SKIP );
    570571
    571572        global $post, $page, $numpages, $multipage, $more, $pagenow;