Filter hook 'content_pagination'

in WP Core File wp-includes/class-wp-query.php at line 4845

Description

Filters the "pages" derived from splitting the post content. "Pages" are determined by splitting the post content based on the presence of `` tags.

Occurrences

Filename Line Number
wp-includes/class-wp-query.php 4845

Parameters

Type Name Description
string[] $pages Array of "pages" from the post content split by `` tags.
WP_Post $post Current post object.

PHP Doc

/**
		 * Filters the "pages" derived from splitting the post content.
		 *
		 * "Pages" are determined by splitting the post content based on the presence
		 * of `` tags.
		 *
		 * @since 4.4.0
		 *
		 * @param string[] $pages Array of "pages" from the post content split by `` tags.
		 * @param WP_Post  $post  Current post object.
		 */