Function Arguments Return Description Version Path

add_comments_page

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

Add sub menu 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

check_comment

(string) $author
(string) $email
(string) $url
(string) $comment
(string) $user_ip
(string) $user_agent
(string) $comment_type
(boolean) Whether the checks passed (true) and the comments should be displayed or set to moderated

Checks whether a comment passes internal checks to be allowed to add.

1.2 wp-includes / comment.php

comments_link

(string) $deprecated = ''
(bool) $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

comments_number

(string) $zero = false
(string) $one = false
(string) $more = false
(string) $deprecated = ''
(void)

Display the language string for the number of comments the current post has.

0.71 wp-includes / comment-template.php

comments_open

(int|WP_Post) $post_id = null
(boolean) True if the comments are open.

Whether the current post is open for comments.

1.5 wp-includes / comment-template.php

comments_popup_link

(string) $zero = false
(string) $one = false
(string) $more = false
(string) $css_class = ''
(string) $none = false
(null) Returns null on single posts and pages.

Displays the link to the comments popup window for the current post ID.

0.71 wp-includes / comment-template.php

comments_popup_script

(int) $width = 400
(int) $height = 400
(string) $file = ''
(void)

Display the JS popup script to show a comment.

0.71 wp-includes / comment-template.php

comments_rss

(string)

Return link to the post RSS feed.

1.5 wp-includes / deprecated.php