add_comment_meta Wordpress function


Description:

Add meta data field to a comment.


Syntax:


Arguments:

(int) $comment_id Comment ID.
(string) $meta_key Metadata name.
(mixed) $meta_value Metadata value.
(bool) $unique Optional, default is false. Whether the same key should not be added.


Return Type:

(bool) False for failure. True for success.


Define At:

wp-includes/comment.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_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 ×