Filters the “pages” derived from splitting the post content.
"Pages" are determined by splitting the post content based on the presence of <!-- nextpage --> tags.
$pagesstring[]
<!-- nextpage --> tags.$postWP_Post
$pages = apply_filters( 'content_pagination', $pages, $post );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/content_pagination