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
get_post_type_labels(): for the full list of labels.
Parameters
- $labels
-
Object with labels for the post type as member variables.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
WP-3.5.0 | Introduced. |