Forums
(@lehooo)
15 years, 8 months ago
I just wanted to add that for those who want to access the singular label, it can be done through: $post_type->labels->singular_name I suspect that all the other labels can be accessed in the same way, but I haven’t tried it out yet myself.
$post_type->labels->singular_name