WordPress at Your Fingertips
filter is not described

content_pagination filter-hook . WP 4.4.0

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

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


add_filter( 'content_pagination', 'filter_function_name_7205', 10, 2 );
function filter_function_name_7205( $pages, $post ){
	// filter...

	return $pages;
Array of "pages" from the post content split by <!-- nextpage --> tags.
Current post object.


Since 4.4.0 Introduced.

Where the hook is called

wp-includes/class-wp-query.php 4401
$pages = apply_filters( 'content_pagination', $pages, $post );

Where in WP core the hook is used WordPress

Usage not found.