{"action":"created","issue":{"url":"https://api.github.com/repos/wonderfan/php/issues/30","labels_url":"https://api.github.com/repos/wonderfan/php/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/wonderfan/php/issues/30/comments","events_url":"https://api.github.com/repos/wonderfan/php/issues/30/events","html_url":"https://github.com/wonderfan/php/issues/30","id":98867978,"number":30,"title":"sage theme","user":{"login":"wonderfan","id":1715077,"avatar_url":"https://avatars.githubusercontent.com/u/1715077?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderfan","html_url":"https://github.com/wonderfan","followers_url":"https://api.github.com/users/wonderfan/followers","following_url":"https://api.github.com/users/wonderfan/following{/other_user}","gists_url":"https://api.github.com/users/wonderfan/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderfan/subscriptions","organizations_url":"https://api.github.com/users/wonderfan/orgs","repos_url":"https://api.github.com/users/wonderfan/repos","events_url":"https://api.github.com/users/wonderfan/events{/privacy}","received_events_url":"https://api.github.com/users/wonderfan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wonderfan/php/labels/WordPress","name":"WordPress","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-04T01:21:15Z","updated_at":"2015-08-04T01:55:56Z","closed_at":null,"body":"The code repository: https://github.com/roots/sage"},"comment":{"url":"https://api.github.com/repos/wonderfan/php/issues/comments/127453761","html_url":"https://github.com/wonderfan/php/issues/30#issuecomment-127453761","issue_url":"https://api.github.com/repos/wonderfan/php/issues/30","id":127453761,"user":{"login":"wonderfan","id":1715077,"avatar_url":"https://avatars.githubusercontent.com/u/1715077?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderfan","html_url":"https://github.com/wonderfan","followers_url":"https://api.github.com/users/wonderfan/followers","following_url":"https://api.github.com/users/wonderfan/following{/other_user}","gists_url":"https://api.github.com/users/wonderfan/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderfan/subscriptions","organizations_url":"https://api.github.com/users/wonderfan/orgs","repos_url":"https://api.github.com/users/wonderfan/repos","events_url":"https://api.github.com/users/wonderfan/events{/privacy}","received_events_url":"https://api.github.com/users/wonderfan/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T01:55:56Z","updated_at":"2015-08-04T01:55:56Z","body":"action的名称是wp enqueue scripts，\r\nhook function是assets；添加了css和js文件；\r\n\r\n使用add filter函数向global的filter list中添加名称为template include的filter，hook 函数的名称是wrap，主要作用是获得template文件"}}