W3cubDocs

/WordPress

apply_filters( "post_type_labels_{$post_type}", object $labels )

Filters the labels of a specific post type.

Description

The dynamic portion of the hook name, $post_type, refers to the post type slug.

See also

Parameters

$labels

(object) Object with labels for the post type as member variables.

Source

File: wp-includes/post.php

View on Trac

Changelog

Version Description
3.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_type_labels_post_type