How can i determine through coding if a post.php is requested by a custom post type?
The "add new" option says
&post_type=. But when i want to edit posts in my custom post type, no such thing can be found in the URL. I already have this code
if(($pagenow == 'post.php' || $pagenow == 'post-new.php') && $post->post_type=='blog')
How to check it for post.php?