apply_filters( 'content_pagination', string[] $pages, WP_Post $post )

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

Description Description

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

Parameters Parameters


(string[]) Array of "pages" from the post content split by <!-- nextpage --> tags.


(WP_Post) Current post object.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.