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



get_tags_to_edit ›

Since2.3.0
已弃用n/a
get_tags_to_edit ( $post_id, $taxonomy = 'post_tag' )
参数: (2)
  • (int) $post_id
    Required: Yes
  • (string) $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
    Required: No
    默认: 'post_tag'
返回:
  • (string|bool|WP_Error)
定义在:
文档:

Get comma-separated list of tags available to edit.



源码

function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) {
	return get_terms_to_edit( $post_id, $taxonomy );
}