wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



content_pagination › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( 'content_pagination', $pages, $post )
Parameter: (2)
  • () pages Array of "pages" from the post content split by `<!-- nextpage -->` tags.
    Erforderlich: Ja
  • () post Current post object.
    Erforderlich: Ja
Definiert in:
Codex:

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

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




Quellcode

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