How do I limit the status options for bulk/quick edit to only Published and Draft?
-
02-11-2019 - |
Question
For my custom post type, I only want to have "Published" and "Draft" as the available options in the bulk edit and quick edit screens, i.e.
I tried hooking on to the filter quick_edit_dropdown_pages_args
but it doesn't seem to get fired. I inserted a wp_die()
in my callback but the admin screen lists all posts like nothing changed. Any idea?
Thanks in advance.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange