Function Arguments Return Description Version Path

_close_comments_for_old_post

(bool) $open
(int) $post_id
(boolean) $open

Close comments on an old post. Hooked to comments_open and pings_open.

2.7 wp-includes / comment.php

_close_comments_for_old_posts

(WP_Post) $posts
(WP_Query) $query
(array)

Close comments on old posts on the fly, without any extra DB queries. Hooked to the_posts.

2.7 wp-includes / comment.php

_prime_comment_caches

(array) $comment_ids
(bool) $update_meta_cache = true
(void)

Adds any comments from the given IDs to the cache that do not already exist in cache.

4.4 wp-includes / comment.php

add_comments_page

(string) $page_title
(string) $menu_title
(string) $capability
(string) $menu_slug
(callable) $function = ''
(false|string) The resulting page's hook_suffix, or false if the user does not have the capability required.

Add submenu page to the Comments main menu.

wp-admin / includes / plugin.php

add_post_type_support

(string) $post_type
(string|array) $feature
(void)

Register support of certain features for a post type.

3.0 wp-includes / post.php

comment_footer_die

(string) $msg
(void)

Display error message at bottom of comments.

wp-admin / includes / comment.php

comment_id_fields

(int) $id = 0
(void)

Output hidden input HTML for replying to comments.

2.7 wp-includes / comment-template.php

comment_link

(int|WP_Comment) $comment = null
(void)

Display the link to the comments.

1.5 wp-includes / feed.php

comments_link

(string) $deprecated = ''
(string) $deprecated_2 = ''
(void)

Display the link to the current post comments.

0.71 wp-includes / comment-template.php

comments_link_feed

(none)

Outputs the link to the comments for the current post in an xml safe way

3.0 wp-includes / feed.php