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



content_pagination › WordPress过滤钩子

Since4.4.0
已弃用n/a
› apply_filters( 'content_pagination', $pages, $post )
参数: (2)
  • () pages Array of "pages" from the post content split by `<!-- nextpage -->` tags.
    Required: Yes
  • () post Current post object.
    Required: Yes
定义在:
文档:

Filters the "pages" derived from splitting the post content.

"Pages" are determined by splitting the post content based on the presence of `` tags.




源码

$pages = apply_filters( 'content_pagination', $pages, $post );