Hi i am not very experienced with plugin development and i am using edited_{$taxonomy} | Hook and i want to get old term value before this update. It is returning new value but i want to get old value (before update) because i want to use this in some other function. Here is my code
function action_edit_taxonomy( $term_id, $tt_id ) {
$term = get_term($term_id);
print_r($term);
};
add_action( "edited_um_user_tag", 'action_edit_taxonomy', 10, 6 );
I know about edit_{$taxonomy} | Hook but i want to use above mentioned hook.
Is it possible to get old value of term with this hook?
I will really appreciate it if someone will be able to guide me about this.
Thank you!