{"action":"created","issue":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/805","labels_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/805/labels{/name}","comments_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/805/comments","events_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/805/events","html_url":"https://github.com/ThemeFuse/Unyson/issues/805","id":101607350,"number":805,"title":"How to disable all shortcodes in content tab ?","user":{"login":"wpthemes786","id":12461946,"avatar_url":"https://avatars.githubusercontent.com/u/12461946?v=3","gravatar_id":"","url":"https://api.github.com/users/wpthemes786","html_url":"https://github.com/wpthemes786","followers_url":"https://api.github.com/users/wpthemes786/followers","following_url":"https://api.github.com/users/wpthemes786/following{/other_user}","gists_url":"https://api.github.com/users/wpthemes786/gists{/gist_id}","starred_url":"https://api.github.com/users/wpthemes786/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpthemes786/subscriptions","organizations_url":"https://api.github.com/users/wpthemes786/orgs","repos_url":"https://api.github.com/users/wpthemes786/repos","events_url":"https://api.github.com/users/wpthemes786/events{/privacy}","received_events_url":"https://api.github.com/users/wpthemes786/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"moldcraft","id":1475489,"avatar_url":"https://avatars.githubusercontent.com/u/1475489?v=3","gravatar_id":"","url":"https://api.github.com/users/moldcraft","html_url":"https://github.com/moldcraft","followers_url":"https://api.github.com/users/moldcraft/followers","following_url":"https://api.github.com/users/moldcraft/following{/other_user}","gists_url":"https://api.github.com/users/moldcraft/gists{/gist_id}","starred_url":"https://api.github.com/users/moldcraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moldcraft/subscriptions","organizations_url":"https://api.github.com/users/moldcraft/orgs","repos_url":"https://api.github.com/users/moldcraft/repos","events_url":"https://api.github.com/users/moldcraft/events{/privacy}","received_events_url":"https://api.github.com/users/moldcraft/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-18T09:09:47Z","updated_at":"2015-08-19T09:14:14Z","closed_at":null,"body":"Hello @moldcraft \r\n\r\nI want to disable all shortcodes from content tab. And move contact form shortcode to new custom shortcodes tab.\r\n\r\nI am using this function to disable the shortcodes but some are hide and others are not.\r\nfunction disable_default_shortcodes($to_disable)\r\n{\r\n    $to_disable[] = 'call-to-action';\r\n    $to_disable[] = 'divider';\r\n    $to_disable[] = 'icon';\r\n    $to_disable[] = 'map';\r\n    $to_disable[] = 'notification';\r\n    $to_disable[] = 'special-heading';\r\n    $to_disable[] = 'table';\r\n    $to_disable[] = 'textblock';\r\n    $to_disable[] = 'widge-tarea';\r\n    $to_disable[] = 'media-image';\r\n    $to_disable[] = 'media-video';\r\n    return $to_disable;\r\n}\r\nadd_filter('fw_ext_shortcodes_disable_shortcodes', 'disable_default_shortcodes');\r\n\r\nThese shortcodes are not disabled using this hook.\r\n\r\nAnd also i want to know how to move the contact form shortode to other tab.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/comments/132504283","html_url":"https://github.com/ThemeFuse/Unyson/issues/805#issuecomment-132504283","issue_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/805","id":132504283,"user":{"login":"moldcraft","id":1475489,"avatar_url":"https://avatars.githubusercontent.com/u/1475489?v=3","gravatar_id":"","url":"https://api.github.com/users/moldcraft","html_url":"https://github.com/moldcraft","followers_url":"https://api.github.com/users/moldcraft/followers","following_url":"https://api.github.com/users/moldcraft/following{/other_user}","gists_url":"https://api.github.com/users/moldcraft/gists{/gist_id}","starred_url":"https://api.github.com/users/moldcraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moldcraft/subscriptions","organizations_url":"https://api.github.com/users/moldcraft/orgs","repos_url":"https://api.github.com/users/moldcraft/repos","events_url":"https://api.github.com/users/moldcraft/events{/privacy}","received_events_url":"https://api.github.com/users/moldcraft/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T09:14:14Z","updated_at":"2015-08-19T09:14:14Z","body":"Hello @wpthemes786 \r\n\r\nI don't know the answer for this. We didn't made the possibility to move shortcodes between tabs.\r\n\r\nSo at the moment, the answer is: You can't.\r\n\r\nP.S. Instead of `$to_disable[] = 'media-video';` try `$to_disable[] = 'media_video';` (with underscore. I haven't tested this, so not sure if this will help)\r\n\r\nI will take a look at this issue later. Right now I am busy with [this issue]()"}}