Filters the labels of a specific post type.
The dynamic portion of the hook name, $post_type, refers to the post type slug.
Possible hook names include:
post_type_labels_postpost_type_labels_pagepost_type_labels_attachment$labelsobject
$labels = apply_filters( "post_type_labels_{$post_type}", $labels );
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_type_labels_post_type