Hi I would like to ask you guys if this is possible in Woocommerce hooks

the hook I'm using is this one,
woocommerce\_order\_status\_processing

I want this hook only to be called in user side after payment, which is works ok but in the admin if I change the oder status, this hook is also triggering, can I disabled my custom hook in admin and will run/trigger only for the user side?

```
add_action( 'woocommerce_order_status_processing', 'order_extracode' );
function order_extracod( $order_id) {
.....
}

```

the above code is the function and hook I added, I tried !is\_admin() but it is not working, and still processing this function in Admin Orders

thanks (TIA)