{"action":"created","issue":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/394","labels_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/394/comments","events_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/394/events","html_url":"https://github.com/ThemeFuse/Unyson/issues/394","id":63925819,"number":394,"title":"Creating custom extension through Plugin","user":{"login":"akshaya-rane","id":11537877,"avatar_url":"https://avatars.githubusercontent.com/u/11537877?v=3","gravatar_id":"","url":"https://api.github.com/users/akshaya-rane","html_url":"https://github.com/akshaya-rane","followers_url":"https://api.github.com/users/akshaya-rane/followers","following_url":"https://api.github.com/users/akshaya-rane/following{/other_user}","gists_url":"https://api.github.com/users/akshaya-rane/gists{/gist_id}","starred_url":"https://api.github.com/users/akshaya-rane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshaya-rane/subscriptions","organizations_url":"https://api.github.com/users/akshaya-rane/orgs","repos_url":"https://api.github.com/users/akshaya-rane/repos","events_url":"https://api.github.com/users/akshaya-rane/events{/privacy}","received_events_url":"https://api.github.com/users/akshaya-rane/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":3,"created_at":"2015-03-24T07:46:09Z","updated_at":"2015-03-24T16:06:48Z","closed_at":null,"body":"Hi,\r\n\r\nI have created plugin with following structure,\r\n\r\n`<plugin_folder_name>/framework-customizations/extensions/<extension_name>`\r\n\r\nI have added below code in main plugin file,\r\n```\r\nfunction _wdm_filter_my_plugin_extensions($locations) {\r\n$locations[dirname(__FILE__) . '/framework-customizations/extensions/'] = plugin_dir_url( __FILE__ ) . 'framework-customizations/extensions/';\r\n\treturn $locations;\r\n}\r\nadd_filter('fw_extensions_locations', '_wdm_filter_my_plugin_extensions');\r\n```\r\nIf I add extension, in theme 'extensions' folder, it worked well. \r\n\r\nCan you please give a step by step approach for creating extension via a plugin?\r\n"},"comment":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/comments/85580416","html_url":"https://github.com/ThemeFuse/Unyson/issues/394#issuecomment-85580416","issue_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/394","id":85580416,"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-03-24T16:06:48Z","updated_at":"2015-03-24T16:06:48Z","body":"> If I add extension through plugin, will it be visible in Unyson 'Available' / 'Active' extension list.\r\n\r\nSorry, at the moment no *(I forgot about that)*. I am fixing this right now."}}