previous_posts_link()
previous_posts_link( string $label = null )
显示“上一篇文章”页面链接。
Displays the previous posts page link.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$label | (string) | 可选 | 上一页链接文本。 |
返回(Return)
无返回值
源码(Source)
/** * Display the previous posts page link. * * @since 0.71 * * @param string $label Optional. Previous page link text. */ function previous_posts_link( $label = null ) { echo get_previous_posts_link( $label ); }
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
0.71 | wp-includes/link-template.php:2480 | 0 | 1 function |
笔记(Notes)
例子
previous_posts_link() 为WP2原创文章,链接:https://www.wp2.cn/functions/previous_posts_link/