get_edit_term_link

過濾鉤子
apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type )
引數
  • (string) $location The edit link.
    Required:
  • (int) $term_id Term ID.
    Required:
  • (string) $taxonomy Taxonomy name.
    Required:
  • (string) $object_type The object type.
    Required:
定義位置
相關勾子
get_edit_user_linkedit_term_linkget_edit_tag_linkget_edit_post_linkget_edit_comment_link
相關方法
get_edit_term_linkget_edit_user_linkedit_term_linkget_edit_tag_linkget_term_linkget_edit_post_link
引入
3.1.0
棄用
-

get_edit_term_link: 此函式返回用於編輯分類法中的術語的URL。必須提供術語ID和分類法作為引數。

過濾術語的編輯連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type );
return apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type );
return apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type );

常見問題

FAQs
檢視更多 >