1. 首页
  2. WordPress 函数手册

link_pages()

link_pages( string $before = ‘<br />’, string $after = ‘<br />’, string $next_or_number = ‘number’, string $nextpagelink = ‘next page’, string $previouspagelink = ‘previous page’, string $pagelink = ‘%’, string $more_file =  )

基于参数打印页面列表。
Print list of pages based on arguments.

目录锚点:#说明#参数#返回#源码


说明(Description)

另见函数 wp_link_pages()


参数(Parameters)

参数 类型 必填 说明
$before (string) 可选
$after (string) 可选
$next_or_number (string) 可选
$nextpagelink (string) 可选
$previouspagelink (string) 可选
$pagelink (string) 可选
$more_file (string) 可选

返回(Return)

(string)


源码(Source)


更新版本 源码位置 使用 被使用
2.1.0 wp-includes/deprecated.php:811 0 2

link_pages() 为WP2原创文章,链接:https://www.wp2.cn/functions/link_pages/