{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/9797","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9797/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9797/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9797/events","html_url":"https://github.com/woothemes/woocommerce/pull/9797","id":121190521,"number":9797,"title":"Add hooks after shipping rate display","user":{"login":"JeroenSormani","id":5774447,"avatar_url":"https://avatars.githubusercontent.com/u/5774447?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenSormani","html_url":"https://github.com/JeroenSormani","followers_url":"https://api.github.com/users/JeroenSormani/followers","following_url":"https://api.github.com/users/JeroenSormani/following{/other_user}","gists_url":"https://api.github.com/users/JeroenSormani/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenSormani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenSormani/subscriptions","organizations_url":"https://api.github.com/users/JeroenSormani/orgs","repos_url":"https://api.github.com/users/JeroenSormani/repos","events_url":"https://api.github.com/users/JeroenSormani/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenSormani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-09T09:02:20Z","updated_at":"2015-12-14T18:04:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/9797","html_url":"https://github.com/woothemes/woocommerce/pull/9797","diff_url":"https://github.com/woothemes/woocommerce/pull/9797.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/9797.patch"},"body":"@mikejolley thanks for your feedback in #9739\r\n\r\nSplit the PR up in two seprate ones, one for the shipping template, and the other #9798 for the admin area.\r\n\r\n> MJ: Having an action based on something which can change doesn't seem logical?\r\n> Something generic after output of the selects/radios would be more acceptable - you can get chosen method from the session if needed.\r\nIn case the hook is after all the shipping rates, the chosen from session would work, but when they're after each separate shipping rate (which is the case for the radio buttons - not for a single / drop down shipping option) it won't work.\r\n\r\nHere's the plugin/use-case where I'm using these hooks for: \r\n![image](https://cloud.githubusercontent.com/assets/5774447/11680803/f5fdd4c0-9e5a-11e5-85f1-bf237ad8adfa.png)\r\n\r\nHope that gives some clarification on how it can be used. Thats the reason why it 'needs' to have the `$method` argument and its placed after each shipping rate. \r\n\r\nI've had multiple requests from users for something like a description at a shipping rate. \r\n\r\nThanks :smile: "},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/164512349","html_url":"https://github.com/woothemes/woocommerce/pull/9797#issuecomment-164512349","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9797","id":164512349,"user":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T18:04:28Z","updated_at":"2015-12-14T18:04:28Z","body":"@mikejolley maybe time to deprecate/remove the dropdown option. Since we have it just for shipping and in some case shipping methods need more fields like payment methods."}}