{"action":"opened","issue":{"url":"https://api.github.com/repos/pojome/elementor/issues/6492","repository_url":"https://api.github.com/repos/pojome/elementor","labels_url":"https://api.github.com/repos/pojome/elementor/issues/6492/labels{/name}","comments_url":"https://api.github.com/repos/pojome/elementor/issues/6492/comments","events_url":"https://api.github.com/repos/pojome/elementor/issues/6492/events","html_url":"https://github.com/pojome/elementor/issues/6492","id":392470272,"node_id":"MDU6SXNzdWUzOTI0NzAyNzI=","number":6492,"title":"Custom Control not working","user":{"login":"CodeCurosity","id":16650859,"node_id":"MDQ6VXNlcjE2NjUwODU5","avatar_url":"https://avatars1.githubusercontent.com/u/16650859?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeCurosity","html_url":"https://github.com/CodeCurosity","followers_url":"https://api.github.com/users/CodeCurosity/followers","following_url":"https://api.github.com/users/CodeCurosity/following{/other_user}","gists_url":"https://api.github.com/users/CodeCurosity/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCurosity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCurosity/subscriptions","organizations_url":"https://api.github.com/users/CodeCurosity/orgs","repos_url":"https://api.github.com/users/CodeCurosity/repos","events_url":"https://api.github.com/users/CodeCurosity/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCurosity/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T07:18:46Z","updated_at":"2018-12-19T07:18:46Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nSo no matter what i try, it always says this control not found, i even tried the sample emojiarea control, it still doesn't work, i maybe including it wrong, can you give me an example of how would you register the sample emojiarea control you have in documentation.\r\n\r\nI tried this https://developers.elementor.com/creating-a-new-control/ to create control.\r\n\r\nAnd this to register control.\r\n\r\n```\r\n<?php\r\nfinal class Elementor_Test_Extension {\r\n\r\n\tpublic function init() {\r\n\r\n\t\t// Include plugin files\r\n\t\t$this->includes();\r\n\r\n\t\t// Register controls\r\n\t\tadd_action( 'elementor/controls/controls_registered', [ $this, 'register_controls' ] );\r\n\r\n\t}\r\n\r\n\tpublic function includes() {\r\n\r\n\t\trequire_once( __DIR__ . '/controls/test-control-1.php' );\r\n\t\trequire_once( __DIR__ . '/controls/test-control-2.php' );\r\n\r\n\t}\r\n\r\n\tpublic function register_controls() {\r\n\r\n\t\t$controls_manager = \\Elementor\\Plugin::$instance->controls_manager;\r\n\t\t$controls_manager->register_control( 'control-type-1', new Test_Control1() );\r\n\t\t$controls_manager->register_control( 'control-type-2', new Test_Control2() );\r\n\r\n\t}\r\n\r\n}\r\n```"}}
{"actor":{"display_login":"CodeCurosity"}}