apply_filters( 'content_pagination', array $pages, WP_Post $post )

Filters the “pages” derived from splitting the post content.


Description

"Pages" are determined by splitting the post content based on the presence of <!-- nextpage --> tags.


Parameters

$pages

(array) Array of "pages" derived from the post content. of <!-- nextpage --> tags..

$post

(WP_Post) Current post object.


Source

File: wp-includes/class-wp-query.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.