Hook to execute after deleting a Custom Taxonomy

Question

I need to execute a portion of code after each: Add / Edit / delete a custom taxonomy .
For creation / edition it works well, but for deletion non :

    add_action( 'edited_product_category', array ( $this , 'term_edit_success' ), 10, 2 );
    add_action( 'create_product_category', array ( $this , 'term_create_success' ), 10, 2 );
    add_action( 'delete_product_category', array ( $this , 'term_delete_success' ), 10, 2 );
0
Younes.D 1 month 0 Answers 5 views 0

Leave an answer