首页 WordPress函数大全 next_posts()

next_posts()

2020-05-02 / 4470阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

next_posts( int $max_page, bool $echo = true )

显示或检索下一个帖子页面链接。

描述

参数

$max_page

(int)
(Optional)
Max pages. Default 0.

$echo

(bool)
(Optional)
Whether to echo the link.

Default value: true

返回

(string|void) The link URL for next posts page if $echo = false.

大家谈论
    我的见解