{"id":348,"date":"2016-08-28T05:55:42","date_gmt":"2016-08-28T05:55:42","guid":{"rendered":"http:\/\/angelwings.net\/blog\/?p=348"},"modified":"2016-08-28T05:55:42","modified_gmt":"2016-08-28T05:55:42","slug":"visual-composer-remove-visual-composer-tab-from-dashboard-menu","status":"publish","type":"post","link":"https:\/\/angelwings.net\/blog\/visual-composer-remove-visual-composer-tab-from-dashboard-menu\/","title":{"rendered":"Visual Composer: Remove Visual Composer Tab from Dashboard Menu"},"content":{"rendered":"<p>Add this following code to your themes <code>functions.php<\/code><\/p>\n<pre class=\"default prettyprint prettyprinted\"><code><span class=\"kwd\">function<\/span><span class=\"pln\"> custom_menu_page_removing<\/span><span class=\"pun\">()<\/span> <span class=\"pun\">{<\/span><span class=\"pln\">\n    remove_menu_page<\/span><span class=\"pun\">(<\/span><span class=\"str\">'vc-general'<\/span><span class=\"pun\">);<\/span> <span class=\"com\">\/\/vc<\/span>\n<span class=\"pun\">}<\/span><span class=\"pln\">\nadd_action<\/span><span class=\"pun\">(<\/span> <span class=\"str\">'admin_menu'<\/span><span class=\"pun\">,<\/span> <span class=\"str\">'custom_menu_page_removing'<\/span> <span class=\"pun\">);<\/span><\/code><\/pre>\n<p>This is how to find out for the next time:<\/p>\n<p>The link for Visual-Composer main page is <code>admin.php?page=vc-general<\/code> if you want to hide a link from an plugin in the admin backend, simply use everything behind the <code>?page=<\/code> in this case it&#8217;s <code>vc-general<\/code><\/p>\n<p>Source: http:\/\/wordpress.stackexchange.com\/questions\/227593\/remove-visual-composer-tab-from-dashboard-menu<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add this following code to your themes functions.php function custom_menu_page_removing() { remove_menu_page(&#8216;vc-general&#8217;); \/\/vc } add_action( &#8216;admin_menu&#8217;, &#8216;custom_menu_page_removing&#8217; ); This is how to find out for the next time: The link for Visual-Composer main page is admin.php?page=vc-general if you want to hide a link from an plugin in the admin backend, simply use everything behind the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,32],"tags":[],"class_list":["post-348","post","type-post","status-publish","format-standard","hentry","category-cms","category-visual-composer"],"_links":{"self":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts\/348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/comments?post=348"}],"version-history":[{"count":0,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts\/348\/revisions"}],"wp:attachment":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/media?parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/categories?post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/tags?post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}