Php Hook Dont Pas Data To My Function Correctly

hi i am using following hook for my project, when i print the data i can see my sent value there

[type] => 1
fn_print_die($feature_data);
fn_set_hook('update_product_feature_post', $feature_data, $feature_id, $deleted_variants, $lang_code);

but when can i use this hook on my function i cant see this data, like this

function fn_my_changes_update_product_feature_post($feature_data, $feature_id, $deleted_variants, $lang_code)
{
   fn_print_die($feature_data);

}

turn me empty value

[type] => 

what can be problem ?

it was work on 4.7 when i update 4.8 stopped working..

it was work on 4.7 when i update 4.8 stopped working..

Hello!

Please check if some other add-ons affect fn_update_product_feature function.

i did before, only my addon use this hooks

Try to test hook with another parameter or variable

If you're feature_data has value in the parent, the the child must be getting that same value unless another addon uses the same hook and has modified the data.

Suggest from a shell prompt you:

grep -R app/addons update_product_feature_post

And ensure that only your addon is using that hook.

i will check. thank for advices