Hide Plugin Custom Post Type Menu Link

Those methods that you were using, remove the page totally. If you were the plugin author I would suggest to create the admin page calling add_submenu_page with a parent id of null. Since you can’t change the plugin code the only way to achieve this is using CSS.

Read this ticket for more information about the problem.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)