I need to hide edit.php and edit.php***...
i hide edit.php page and i worked, but when i click on any other link e.g.
drafts ( edit.php?post_status=draft&post_type=post )
it show the hidden stuff again.
now i need all that hidden.
i searched a bit and found this
$def_post_pages = array( 'edit.php', 'post.php', 'post-new.php' );
and when i try to add 'edit.php?post_status=publish&post_type=post'
inside it wont work but when remove any of those inside it seem to be the right place to add the string .
Is it something with the strings or...
Any help will be appreciated.