diff --git a/src/wp-includes/post-functions.php b/src/wp-includes/post-functions.php index 34452c462e..2c4cda07ec 100644 --- a/src/wp-includes/post-functions.php +++ b/src/wp-includes/post-functions.php @@ -1411,6 +1411,7 @@ function get_post_type_labels( $post_type_object ) { * * @param object $object A custom-something object. * @param array $nohier_vs_hier_defaults Hierarchical vs non-hierarchical default labels. + * @return object Object containing labels for the given custom-something object. */ function _get_custom_object_labels( $object, $nohier_vs_hier_defaults ) { $object->labels = (array) $object->labels;