过滤分割帖子内容得出的“页面”。
原型
apply_filters( 'content_pagination', array $pages, WP_Post $post )
描述
“页面”是通过基于<! – nextpage – >标签的存在来分割帖子内容来确定的。
参数
$pages
(array)
从帖子内容派生的“页面”数组。 <! – nextpage – >标签..
$post
(WP_Post)
当前的帖子对象。
源文件
路径:wp-includes/class-wp-query.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/content_pagination/