get_comment_meta Wordpress function


Description:

Retrieve comment meta field for a comment.


Syntax:


Arguments:

(int) $comment_id Comment ID.
(string) $key Optional. The meta key to retrieve. By default, returns data for all keys.
(bool) $single Whether to return a single value.


Return Type:

(mixed) Will be an array if $single is false. Will be value of meta data field if $single is true.


Define At:

wp-includes/comment.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_comment_meta


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×