preloader

How to search hook with a prefix?

Step 1: Navigate to wp-admin -> Tools -> Show Hooks. Enter your desired prefix in ‘Search with prefix’ field and save the form.

Step 2: Hover your cursor to Show Hook admin top menu and click on Show Action Hook or Show Action & Filter Hooks.

It will show all the hooks with your searched prefix. In my case, it shows the hooks start with ‘woocommerce’.