I'm looking for a way to expand e customize more this topic
I've a custom post type in the dashboard i've managed to have a small search box with a fixed search function to search a specific meta key. The things is that the search form appears on all the /edit.php pages while i need it only in the specific custom post type edit.php page.
I tried with
if (isset($_GET['post_type']) && $_GET['post_type'] == 'product')
but it doesn't seem to work.