get_tags_to_edit()

最后更新于:2021-11-27 00:50:36

get_tags_to_edit( int$post_id, string$taxonomy=’post_tag’)

Get comma-separated list of tags available to edit.

参数

$post_id

(int) (Required)

$taxonomy

(string) (Optional) The taxonomy for which to retrieve terms.

Default value: ‘post_tag’

响应

(string|false|GC_Error)

源文件

文件: gc-admin/includes/taxonomy.php

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