content_pagination
apply_filters( ‘content_pagination’, string[] $pages , WP_Post $post )
过滤钩子:过滤从分离文章内容派生的“页面”。
Filter Hook: Filters the “pages” derived from splitting the post content.
说明(Description)
“页面”是根据存在的<拆分文章内容来确定的!--下一页-->标记。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$pages | (string[]) | 文章内容中的“页面”数组被<!--下一页-->标记。 |
$post | (WP_Post) | 当前post对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-includes/class-wp-query.php:4355 | 1 | 0 |
content_pagination 为WP2原创文章,链接:https://www.wp2.cn/hook/content_pagination/