WordPress at a glance
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_5620', 10, 2 );
function filter_function_name_5620( $pages, $post ){
	// filter...

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

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.