I’ve made a function to hide the Mine filter in the screen wp-admin/edit.php
, using unset:
But when I click in the Posts menu (wp-admin/edit.php
), it will not go to All
by default, it still goes to Mine
filter.
How to make the default to be All
?
We can intercept what page we arrived at the very beginning of the load process (with
load-(page)
) and check if redirection is needed. See comments for logic.