wphooks.info - wp_link_pages

wp_link_pages

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/post-template.php:
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
	}

	/**
	 * Filters the HTML output of page links for paginated posts.
	 *
	 * @since 3.6.0
	 *
	 * @param string $output HTML output of paginated posts' page links.
	 * @param array  $args   An array of arguments.
	 */
	$html = apply_filters( 'wp_link_pages', $output, $args );

	if ( $r['echo'] ) {
		echo $html;
	}
	return $html;
}

/**
 * Helper function for wp_link_pages().