首页 WordPress函数大全 edit_term_link()

edit_term_link()

2020-05-01 / 4196阅 / 悠然

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

edit_term_link( string $link = '', string $before = '', string $after = '', WP_Term $term = null, bool $echo = true )

Displays or retrieves the edit term link with formatting.

描述

参数

$link

(string)
(Optional)
Anchor text. If empty, default is 'Edit This'.

Default value: ''

$before

(string)
(Optional)
Display before edit link.

Default value: ''

$after

(string)
(Optional)
Display after edit link.

Default value: ''

$term

(WP_Term)
(Optional)
Term object. If null, the queried object will be inspected.

Default value: null

$echo

(bool)
(Optional)
Whether or not to echo the return.

Default value: true

返回

(string|void) HTML content.

大家谈论
    我的见解