Okay thanks for the response.
Have one more query- how can i create my own filter or action hook.
I mean i want to create a hook called “woocommerce_myfilter_hook” and then add some functions to this.
So, where should i register this hook so that wordpress knows that it needs to call the functions associated with this hook