How to add post_type=value when editing that post type in the WordPress admin?
there you go, i tested it in my current development and it works. it adds the post_type query parameter to all edit links, even on custom post types and also on the admin bar. this even works with preexisting query parameters and i also have other plugins currently running (f.ex. wpml). function so370070_admin_url($url, $path) { … Read more