get_next_comments_link() WP 1.0
Retrieves the link to the next comments page.
Works based on: get_comment_pages_count(), get_comments_pagenum_link()
1 time = 0.00019s = fast | 50000 times = 2.7s = fast
Hooks from the function
Return
String/null. HTML-formatted link for the next page of comments.
Usage
get_next_comments_link( $label, $max_page );
- $label(string)
- Label for link text.
Default: '' - $max_page(int)
- Max page.
Default: 0
Notes
- Global. WP_Query. $wp_query WordPress Query object.
Changelog
Since 2.7.1 | Introduced. |
Code of get_next_comments_link() get next comments link WP 5.6
Related Functions
From tag: Comments pagination (navigation)
More from tag: Comments
More from tag: Link (URL)
- admin_url()
- attachment_url_to_postid()
- build_query()
- content_url()
- get_edit_post_link()
- get_edit_term_link()
- get_home_url()
- get_post_embed_url()
- get_post_permalink()
- get_post_type_archive_link()
- get_privacy_policy_url()
- get_rest_url()
More from category: Comments
- cancel_comment_reply_link()
- comment_author_email_link()
- comment_form()
- comment_form_title()
- comment_id_fields()
- comment_text()
- comment_type()
- comments_link()
- comments_number()
- comments_popup_link()
- get_avatar()
- get_avatar_data()
- get_avatar_url()