edited_term_taxonomy

動作鉤子
do_action( 'edited_term_taxonomy', $tt_id, $taxonomy, $args )
引數
  • (int) $tt_id Term taxonomy ID.
    Required:
  • (string) $taxonomy Taxonomy slug.
    Required:
  • (array) $args Arguments passed to wp_update_term().
    Required:
定義位置
相關勾子
edit_term_taxonomyedited_term_taxonomiesdeleted_term_taxonomyedit_term_taxonomiesdelete_term_taxonomy
相關方法
register_taxonomyunregister_taxonomyget_taxonomyget_the_taxonomiesis_taxonomyedit_term_link
引入
6.1.0
棄用
-

edited_term_taxonomy: 這是一個過濾鉤子,允許開發者在術語被編輯後修改它的分類標準。

在術語-分類學關係更新後立即觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'edited_term_taxonomy', $tt_id, $taxonomy, $args );
do_action( 'edited_term_taxonomy', $tt_id, $taxonomy, $args );
do_action( 'edited_term_taxonomy', $tt_id, $taxonomy, $args );

常見問題

FAQs
檢視更多 >