wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



post_type_labels_{$post_type} › Filtr WordPress Hooks

Od3.5.0
Przestarzałyn/a
› apply_filters( "post_type_labels_{$post_type}", $labels )
Parametry:
  • () labels Object with labels for the post type as member variables.
    Wymagane: Tak
Zobacz:
  • get_post_type_labels()
Zdefiniowane na:
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`




Źródło

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