首页 WordPress函数大全 get_edit_term_link()

get_edit_term_link()

2020-05-01 / 4518阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_edit_term_link( int $term_id, string $taxonomy = '', string $object_type = '' )

Retrieves the URL for editing a given term.

描述

参数

$term_id

(int)
(Required)
Term ID.

$taxonomy

(string)
(Optional)
Taxonomy. Defaults to the taxonomy of the term identified by $term_id.

Default value: ''

$object_type

(string)
(Optional)
The object type. Used to highlight the proper post type menu>Default value: ''

返回

(string|null) The edit term link URL for the given term, or null on failure.

大家谈论
    我的见解