wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



post_type_labels_{$post_type} › Les Filtres WordPress

Depuis3.5.0
Dépréciéen/a
› apply_filters( "post_type_labels_{$post_type}", $labels )
Paramètres:
  • () labels Object with labels for the post type as member variables.
    Requis: Oui
Voir:
  • get_post_type_labels()
Défini(e) dans:
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`




Source

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