Changeset 53299 for trunk/src/wp-includes/comment.php
- Timestamp:
- 04/28/2022 09:44:12 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r53265 r53299 157 157 * @param int $post_id The ID of the post. 158 158 * @param array $args Optional. See WP_Comment_Query::__construct() for information on accepted arguments. 159 * @return int|arrayThe approved comments, or number of comments if `$count`160 * argument is true.159 * @return WP_Comment[]|int[]|int The approved comments, or number of comments if `$count` 160 * argument is true. 161 161 */ 162 162 function get_approved_comments( $post_id, $args = array() ) { … … 238 238 * @param string|array $args Optional. Array or string of arguments. See WP_Comment_Query::__construct() 239 239 * for information on accepted arguments. Default empty. 240 * @return int|arrayList of comments or number of found comments if `$count` argument is true.240 * @return WP_Comment[]|int[]|int List of comments or number of found comments if `$count` argument is true. 241 241 */ 242 242 function get_comments( $args = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.