WordPress开发者和主题制作者的搜索引擎



wp_list_pages ›

Since4.4.0
已弃用n/a
apply_filters( 'wp_list_pages', $output, $r, $pages )
参数: (3)
  • (string) $output HTML output of the pages list.
    Required: Yes
  • (array) $r An array of page-listing arguments.
    Required: Yes
  • (array) $pages List of WP_Post objects returned by `get_pages()`
    Required: Yes
查看:
  • wp_list_pages()
定义在:
文档:

Filters the HTML output of the pages to list.





源码

$html = apply_filters( 'wp_list_pages', $output, $r, $pages );