{"action":"created","comment":{"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/comments/173883280","pull_request_review_id":103145893,"id":173883280,"diff_hunk":"@@ -75,7 +75,10 @@ function caldera_forms_load(){\n \tinclude_once CFCORE_PATH . 'ui/blocks/init.php';\n     include_once CFCORE_PATH . 'includes/cf-pro-client/cf-pro-init.php';\n \n-\t/**\n+    //Initialize Freemius\n+    add_action( 'caldera_forms_includes_complete', array( 'Caldera_Forms_Admin', 'get_freemius' ) );","path":"caldera-core.php","position":6,"original_position":6,"commit_id":"7b2ae341aec20ef4b93c1757154124973bff3446","original_commit_id":"7b2ae341aec20ef4b93c1757154124973bff3446","user":{"login":"vovafeldman","id":6830121,"avatar_url":"https://avatars2.githubusercontent.com/u/6830121?v=4","gravatar_id":"","url":"https://api.github.com/users/vovafeldman","html_url":"https://github.com/vovafeldman","followers_url":"https://api.github.com/users/vovafeldman/followers","following_url":"https://api.github.com/users/vovafeldman/following{/other_user}","gists_url":"https://api.github.com/users/vovafeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/vovafeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovafeldman/subscriptions","organizations_url":"https://api.github.com/users/vovafeldman/orgs","repos_url":"https://api.github.com/users/vovafeldman/repos","events_url":"https://api.github.com/users/vovafeldman/events{/privacy}","received_events_url":"https://api.github.com/users/vovafeldman/received_events","type":"User","site_admin":false},"body":"@Shelob9  we use it to send the information captured on the feedback form. There's additional logic that needs to be executed before (don't remember what exactly). Anyhow, when I was testing Caldera Forms with Freemius to make sure everything will work fine, I appended the integration snippet at the end of the plugin's main file and everything worked fine: \r\n![image](https://user-images.githubusercontent.com/6830121/37299549-4f0ba564-262c-11e8-837d-557be68cfccc.png)\r\n\r\nSo you can either do the same or just put the snippet in a separate file and include it right away.","created_at":"2018-03-12T17:35:00Z","updated_at":"2018-03-12T17:35:00Z","html_url":"https://github.com/CalderaWP/Caldera-Forms/pull/2350#discussion_r173883280","pull_request_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/comments/173883280"},"html":{"href":"https://github.com/CalderaWP/Caldera-Forms/pull/2350#discussion_r173883280"},"pull_request":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350"}},"in_reply_to_id":173650989},"pull_request":{"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350","id":174044438,"html_url":"https://github.com/CalderaWP/Caldera-Forms/pull/2350","diff_url":"https://github.com/CalderaWP/Caldera-Forms/pull/2350.diff","patch_url":"https://github.com/CalderaWP/Caldera-Forms/pull/2350.patch","issue_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/2350","number":2350,"state":"open","locked":false,"title":"Integrate Freemius insights","user":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars0.githubusercontent.com/u/1994311?v=4","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"body":"#2349 ","created_at":"2018-03-09T16:11:53Z","updated_at":"2018-03-12T17:35:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40de520b899faf2855ce0ef278d675c4027cb16a","assignee":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars0.githubusercontent.com/u/1994311?v=4","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"assignees":[{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars0.githubusercontent.com/u/1994311?v=4","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":562517677,"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/labels/Patch","name":"Patch","color":"fbca04","default":false}],"milestone":{"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/milestones/52","html_url":"https://github.com/CalderaWP/Caldera-Forms/milestone/52","labels_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/milestones/52/labels","id":3061358,"number":52,"title":"1.6.0","description":"","creator":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars0.githubusercontent.com/u/1994311?v=4","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":40,"state":"open","created_at":"2018-01-24T15:29:20Z","updated_at":"2018-03-12T17:31:03Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350/commits","review_comments_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350/comments","review_comment_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/2350/comments","statuses_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/statuses/7b2ae341aec20ef4b93c1757154124973bff3446","head":{"label":"CalderaWP:feature/2349","ref":"feature/2349","sha":"7b2ae341aec20ef4b93c1757154124973bff3446","user":{"login":"CalderaWP","id":10071364,"avatar_url":"https://avatars0.githubusercontent.com/u/10071364?v=4","gravatar_id":"","url":"https://api.github.com/users/CalderaWP","html_url":"https://github.com/CalderaWP","followers_url":"https://api.github.com/users/CalderaWP/followers","following_url":"https://api.github.com/users/CalderaWP/following{/other_user}","gists_url":"https://api.github.com/users/CalderaWP/gists{/gist_id}","starred_url":"https://api.github.com/users/CalderaWP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalderaWP/subscriptions","organizations_url":"https://api.github.com/users/CalderaWP/orgs","repos_url":"https://api.github.com/users/CalderaWP/repos","events_url":"https://api.github.com/users/CalderaWP/events{/privacy}","received_events_url":"https://api.github.com/users/CalderaWP/received_events","type":"Organization","site_admin":false},"repo":{"id":15649192,"name":"Caldera-Forms","full_name":"CalderaWP/Caldera-Forms","owner":{"login":"CalderaWP","id":10071364,"avatar_url":"https://avatars0.githubusercontent.com/u/10071364?v=4","gravatar_id":"","url":"https://api.github.com/users/CalderaWP","html_url":"https://github.com/CalderaWP","followers_url":"https://api.github.com/users/CalderaWP/followers","following_url":"https://api.github.com/users/CalderaWP/following{/other_user}","gists_url":"https://api.github.com/users/CalderaWP/gists{/gist_id}","starred_url":"https://api.github.com/users/CalderaWP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalderaWP/subscriptions","organizations_url":"https://api.github.com/users/CalderaWP/orgs","repos_url":"https://api.github.com/users/CalderaWP/repos","events_url":"https://api.github.com/users/CalderaWP/events{/privacy}","received_events_url":"https://api.github.com/users/CalderaWP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CalderaWP/Caldera-Forms","description":"Drag and drop, responsive WordPress form builder.","fork":false,"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms","forks_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/forks","keys_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/teams","hooks_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/hooks","issue_events_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/events{/number}","events_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/events","assignees_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/assignees{/user}","branches_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/branches{/branch}","tags_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/tags","blobs_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/statuses/{sha}","languages_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/languages","stargazers_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/stargazers","contributors_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/contributors","subscribers_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/subscribers","subscription_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/subscription","commits_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/contents/{+path}","compare_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/merges","archive_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/downloads","issues_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues{/number}","pulls_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls{/number}","milestones_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/milestones{/number}","notifications_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/labels{/name}","releases_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/releases{/id}","deployments_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/deployments","created_at":"2014-01-05T10:25:58Z","updated_at":"2018-03-08T20:16:33Z","pushed_at":"2018-03-12T16:54:37Z","git_url":"git://github.com/CalderaWP/Caldera-Forms.git","ssh_url":"git@github.com:CalderaWP/Caldera-Forms.git","clone_url":"https://github.com/CalderaWP/Caldera-Forms.git","svn_url":"https://github.com/CalderaWP/Caldera-Forms","homepage":"https://CalderaForms.com","size":19399,"stargazers_count":99,"watchers_count":99,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":609,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":96,"open_issues":609,"watchers":99,"default_branch":"master"}},"base":{"label":"CalderaWP:develop","ref":"develop","sha":"45caca0ec49012f60e8c58331b7d6243ae548b0f","user":{"login":"CalderaWP","id":10071364,"avatar_url":"https://avatars0.githubusercontent.com/u/10071364?v=4","gravatar_id":"","url":"https://api.github.com/users/CalderaWP","html_url":"https://github.com/CalderaWP","followers_url":"https://api.github.com/users/CalderaWP/followers","following_url":"https://api.github.com/users/CalderaWP/following{/other_user}","gists_url":"https://api.github.com/users/CalderaWP/gists{/gist_id}","starred_url":"https://api.github.com/users/CalderaWP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalderaWP/subscriptions","organizations_url":"https://api.github.com/users/CalderaWP/orgs","repos_url":"https://api.github.com/users/CalderaWP/repos","events_url":"https://api.github.com/users/CalderaWP/events{/privacy}","received_events_url":"https://api.github.com/users/CalderaWP/received_events","type":"Organization","site_admin":false},"repo":{"id":15649192,"name":"Caldera-Forms","full_name":"CalderaWP/Caldera-Forms","owner":{"login":"CalderaWP","id":10071364,"avatar_url":"https://avatars0.githubusercontent.com/u/10071364?v=4","gravatar_id":"","url":"https://api.github.com/users/CalderaWP","html_url":"https://github.com/CalderaWP","followers_url":"https://api.github.com/users/CalderaWP/followers","following_url":"https://api.github.com/users/CalderaWP/following{/other_user}","gists_url":"https://api.github.com/users/CalderaWP/gists{/gist_id}","starred_url":"https://api.github.com/users/CalderaWP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalderaWP/subscriptions","organizations_url":"https://api.github.com/users/CalderaWP/orgs","repos_url":"https://api.github.com/users/CalderaWP/repos","events_url":"https://api.github.com/users/CalderaWP/events{/privacy}","received_events_url":"https://api.github.com/users/CalderaWP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CalderaWP/Caldera-Forms","description":"Drag and drop, responsive WordPress form builder.","fork":false,"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms","forks_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/forks","keys_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/teams","hooks_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/hooks","issue_events_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/events{/number}","events_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/events","assignees_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/assignees{/user}","branches_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/branches{/branch}","tags_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/tags","blobs_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/statuses/{sha}","languages_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/languages","stargazers_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/stargazers","contributors_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/contributors","subscribers_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/subscribers","subscription_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/subscription","commits_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/contents/{+path}","compare_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/merges","archive_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/downloads","issues_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues{/number}","pulls_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls{/number}","milestones_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/milestones{/number}","notifications_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/labels{/name}","releases_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/releases{/id}","deployments_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/deployments","created_at":"2014-01-05T10:25:58Z","updated_at":"2018-03-08T20:16:33Z","pushed_at":"2018-03-12T16:54:37Z","git_url":"git://github.com/CalderaWP/Caldera-Forms.git","ssh_url":"git@github.com:CalderaWP/Caldera-Forms.git","clone_url":"https://github.com/CalderaWP/Caldera-Forms.git","svn_url":"https://github.com/CalderaWP/Caldera-Forms","homepage":"https://CalderaForms.com","size":19399,"stargazers_count":99,"watchers_count":99,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":609,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":96,"open_issues":609,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350"},"html":{"href":"https://github.com/CalderaWP/Caldera-Forms/pull/2350"},"issue":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/2350"},"comments":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/2350/comments"},"review_comments":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350/comments"},"review_comment":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/pulls/2350/commits"},"statuses":{"href":"https://api.github.com/repos/CalderaWP/Caldera-Forms/statuses/7b2ae341aec20ef4b93c1757154124973bff3446"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vovafeldman"}}