wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



post_type_labels_{$post_type} › WordPress Filter Hooks

Da3.5.0
Deprecaton/a
› apply_filters( "post_type_labels_{$post_type}", $labels )
Parametri:
  • () labels Object with labels for the post type as member variables.
    Richiesto: Sì
Vedi:
  • get_post_type_labels()
Definito a:
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`




Sorgenti

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