data handlers Flashcards
comment_type
allows you to categorize a comment as a ‘comment’ ‘trackback’ or ‘pingback’
comment_class()
uses the global $comment to output the css classes to the comment
comment_id():
uses the global $comment to output the comment ID
comment_author_url():
uses the global $comment to output another authors url
get_avatar($comment. 96);
uses the global $comment to get the authors avatar
get_comment_author_link():
uses the global $commment to outpout another authors link
comment_text()
sets the global ‘$comment’ to output the comment text
comment_reply_link():
uses the global $comment along with the passed $depth and $args to output a reply link
comment_author_link
outputs the authors name as a clickable link to their website if provided.
edit_comment_link
creates a link that allows users with the proper permissions to edit the comment
pingback
gives a notification to a blog you want to reference to; placed on a variable $comment with comment_type
trackback
unlike pingback there isn’t a auto notification the recipient has to approve.
error_log
displays the message on the server log
items_wrap
used to style a item in a post_type or taxonomy
add_action(‘init’, ‘#”)
used to initilize custom post types