diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index ce9946bcdd63f..c30abdc37970e 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -1180,7 +1180,7 @@ function get_post_ancestors( $post ) { * @param int|WP_Post $post Optional. Post ID or post object. Defaults to global $post. * @param string $context Optional. How to filter the field. Accepts 'raw', 'edit', 'db', * or 'display'. Default 'display'. - * @return string The value of the post field on success, empty string on failure. + * @return int|string|int[] The value of the post field on success, empty string on failure. */ function get_post_field( $field, $post = null, $context = 'display' ) { $post = get_post( $post );