mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user