get_comment_meta Wordpress function


Retrieve comment meta field for a comment.



(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:


Wordpress Reference URL:

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