WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about post_type_labels_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 2008 /**
* 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_post`
* - `post_type_labels_page`
* - `post_type_labels_attachment`
*
* @since 3.5.0
*
* @see get_post_type_labels() for the full list of labels.
*
* @param object $labels Object with labels for the post type as member variables.
*/

Hook Parameters

Parameter Type Name Description
object $labels Object with labels for the post type as member variables.