wp_link_pages

wp_link_pages

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_link_pages') is found 1 times:

  • /wp-includes/post-template.php line 1037
    1033
    1034
    1035
    1036
    1037
    1038
    1039
    1040
    1041
    1042
    1043
         * @param string       $output HTML output of paginated posts' page links.
         * @param array|string $args   An array or query string of arguments. See wp_link_pages()
         *                             for information on accepted arguments.
         */
        $html = apply_filters( 'wp_link_pages', $output, $args );
     
        if ( $parsed_args['echo'] ) {
            echo $html;
        }
        return $html;
    }