Core Function
View Source on Trac ↗ next_post()
next_post(
mixed $format = '%',
mixed $next = 'next post: ',
mixed $title = 'yes',
mixed $in_same_cat = 'no',
mixed $limitnext = 1,
mixed $excluded_categories = ''
) Prints link to the next post.
Parameters 6 required
| Name / Type | Description |
|---|---|
| string | $format Required |
| string | $next Required |
| string | $title Required |
| string | $in_same_cat Required |
| int | $limitnext Required |
| string | $excluded_categories Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
0.71
Source File
wp-includes/deprecated.php
Advertisement