paginate_comments_links()
Displays or retrieves pagination links for the comments on the current post.
Uses: paginate_links()
Used By: get_the_comments_pagination()
No Hooks.
Return
null|String|Array
. Void if 'echo' argument is true and 'type' is not an array, or if the query is not for an existing single post of any post type. Otherwise, markup for comment page links or array of comment page links, depending on 'type' argument.
Usage
paginate_comments_links( $args );
- $args(string|array)
- Optional args. See paginate_links().
Default: empty array
Notes
- See: paginate_links()
- Global. WP_Rewrite. $wp_rewrite WordPress rewrite component.
Changelog
Since 2.7.0 | Introduced. |