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_comment_meta

(int) $comment_id
(string) $meta_key
(mixed) $meta_value
(bool) $unique = false
(int|boolean) Meta ID on success, false on failure.

Add meta data field to a comment.

2.9 wp-includes / comment.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

allowed_tags

(string) HTML allowed tags entity encoded.

Display all of the allowed tags in HTML format with attributes.

1.0.1 wp-includes / general-template.php

cancel_comment_reply_link

(string) $text = ''
(void)

Display HTML content for cancel comment reply link.

2.7 wp-includes / comment-template.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

check_comment_flood_db

(string) $ip
(string) $email
(string) $date
(void)

Check whether comment flooding is occurring.

2.3 wp-includes / comment.php

clean_comment_cache

(int|array) $ids
(void)

Removes comment ID from the comment cache.

2.3 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