WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/18/2015 09:32:53 PM (7 years ago)
Author:
johnbillion
Message:

Correct the docs for the post_type_labels_{$post_type} filter.

Fixes #32707
Props dlh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r32800 r32849  
    16771677     * @see get_post_type_labels() for the full list of labels.
    16781678     *
    1679      * @param array $labels Array of labels for the given post type.
     1679     * @param object $labels Object with labels for the post type as member variables.
    16801680     */
    16811681    return apply_filters( "post_type_labels_{$post_type}", $labels );
Note: See TracChangeset for help on using the changeset viewer.