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



post_type_labels_{$post_type} › WordPress Filter Hooks

Seit3.5.0
Veraltetn/v
apply_filters( "post_type_labels_{$post_type}", $labels )
Parameter:
  • () 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. Possible hook names include: - `post_type_labels_post` - `post_type_labels_page` - `post_type_labels_attachment`




Quellcode

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