get_comment Wordpress function


Description:

Retrieves comment data given a comment ID or comment object.


Syntax:


Arguments:

(object|string|int) $comment Comment to retrieve.
(string) $output Optional. OBJECT or ARRAY_A or ARRAY_N constants.


Return Type:

(object|array|null) Depends on $output value.


Define At:

wp-includes/comment.php


Wordpress Reference URL:

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


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