Docs: Add a missing return description for `_get_custom_object_labels()`, a private core helper function.

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@35503 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-11-04 15:46:49 +00:00
parent 059eb46ddd
commit ebfc39e754
1 changed files with 1 additions and 0 deletions

View File

@ -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;