WordPress 函数 the_post_navigation()
the_post_navigation ( array $args = array() )
Display navigation to next/previous post when applicable.
Parameters
$args
(array) (Optional) See get_the_post_navigation() for available arguments.
Default value: array()
源文件
function the_post_navigation( $args = array() ) {
echo get_the_post_navigation( $args );
}
原文https://developer.wordpress.org/reference/functions/the_post_navigation/
