Message on Custom Posts Type admin page
Good question. I’ve often wondered it myself. This will work. You just need to change my_post_type_slug to the slug of your post type. There might be a cleaner way to find the post type other than using $_GET but it’s good enough for now! add_action(‘all_admin_notices’, ‘my_admin_notices’); function my_admin_notices() { if ($_GET[‘post_type’] == ‘my_post_type_slug’ ) { … Read more