Definition:
function get_comment_meta($comment_id, $key, $single = false) {}
Retrieve comment meta field for a comment.
Parameters
- int $comment_id: Comment ID.
- string $key: The meta key to retrieve.
- bool $single: Whether to return a single value.
Return values
returns:Will be an array if $single is false. Will be value of meta data field if $single is true.
Source code
function get_comment_meta($comment_id, $key, $single = false) {
return get_metadata('comment', $comment_id, $key, $single);
}
1322

February 12, 2011 


No comments yet... Be the first to leave a reply!