wpseek.com
WordPress开发者和主题制作者的搜索引擎



taxonomy_labels_{$taxonomy} › WordPress过滤钩子

Since4.4.0
已弃用n/a
apply_filters( "taxonomy_labels_{$taxonomy}", $labels )
参数:
  • (object) $labels Object with labels for the taxonomy as member variables.
    Required: Yes
定义在:
文档:

Filters the labels of a specific taxonomy.

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Possible hook names include:

  • taxonomy_labels_category
  • taxonomy_labels_post_tag




源码

$labels = apply_filters( "taxonomy_labels_{$taxonomy}", $labels );