Changeset 50641 for trunk/src/wp-includes/comment.php
- Timestamp:
- 04/02/2021 03:47:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r50558 r50641 494 494 * returns data for all keys. 495 495 * @param bool $single Optional. Whether to return a single value. 496 * This parameter has no effect if $keyis not specified.496 * This parameter has no effect if `$key` is not specified. 497 497 * Default false. 498 * @return mixed An array if $single is false. The value of meta data field 499 * if $single is true. False for an invalid $comment_id. 498 * @return mixed An array of values if `$single` is false. 499 * The value of meta data field if `$single` is true. 500 * False for an invalid `$comment_id` (non-numeric, zero, or negative value). 501 * An empty string if a valid but non-existing comment ID is passed. 500 502 */ 501 503 function get_comment_meta( $comment_id, $key = '', $single = false ) {
Note: See TracChangeset
for help on using the changeset viewer.