A WordPress-centric search engine for devs and theme authors



content_pagination ›

Since4.4.0
Deprecatedn/a
apply_filters( 'content_pagination', $pages, $post )
Parameters: (2)
  • (string[]) $pages Array of "pages" from the post content split by `<!-- nextpage -->` tags.
    Required: Yes
  • (WP_Post) $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 <!-- nextpage --> tags.





Source

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