Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



post_type_labels_{$post_type} ›

Seit3.5.0
Veraltetn/v
apply_filters( "post_type_labels_{$post_type}", $labels )
Parameter:
  • (object) $labels Object with labels for the post type as member variables.
    Erforderlich: Ja
Siehe:
  • get_post_type_labels()
Definiert in:
Codex:

Filters the labels of a specific post type.

The dynamic portion of the hook name, $post_type, refers to the post type slug.





Quellcode

$labels = apply_filters( "post_type_labels_{$post_type}", $labels );