WPDev.one
Core Function
View Source on Trac ↗

_get_custom_object_labels()

_get_custom_object_labels( mixed $data_object, mixed $nohier_vs_hier_defaults )

Builds an object with custom-something object (post type, taxonomy) labels

Parameters 2 required

Name / Type Description
$data_object
object

A custom-something object.

Required
$nohier_vs_hier_defaults
array

Hierarchical vs non-hierarchical default labels.

Required

Return Value

(object)
Object containing labels for the given custom-something object.

Function Information

Since Version
3.0.0
Source File
wp-includes/post.php
Advertisement