Correct the docs for the post_type_labels_{$post_type}
filter.
Fixes #32707 Props dlh git-svn-id: https://develop.svn.wordpress.org/trunk@32849 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
413d24c47f
commit
b8180d3d14
@ -1676,7 +1676,7 @@ function get_post_type_labels( $post_type_object ) {
|
||||
*
|
||||
* @see get_post_type_labels() for the full list of labels.
|
||||
*
|
||||
* @param array $labels Array of labels for the given post type.
|
||||
* @param object $labels Object with labels for the post type as member variables.
|
||||
*/
|
||||
return apply_filters( "post_type_labels_{$post_type}", $labels );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user