wpseek.com
A WordPress-centric search engine for devs and theme authors



content_pagination › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'content_pagination', $pages, $post )
Parameters: (2)
  • () pages Array of "pages" from the post content split by `<!-- nextpage -->` tags.
    Required: Yes
  • () post Current post object.
    Required: Yes
Defined at:
Codex:

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

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




Source

$pages = apply_filters( 'content_pagination', $pages, $post );