{"action":"created","issue":{"url":"https://api.github.com/repos/tlovett1/simple-cache/issues/4","repository_url":"https://api.github.com/repos/tlovett1/simple-cache","labels_url":"https://api.github.com/repos/tlovett1/simple-cache/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tlovett1/simple-cache/issues/4/comments","events_url":"https://api.github.com/repos/tlovett1/simple-cache/issues/4/events","html_url":"https://github.com/tlovett1/simple-cache/issues/4","id":154901720,"number":4,"title":"BBpress Purge cache","user":{"login":"sagliksever","id":18511203,"avatar_url":"https://avatars.githubusercontent.com/u/18511203?v=3","gravatar_id":"","url":"https://api.github.com/users/sagliksever","html_url":"https://github.com/sagliksever","followers_url":"https://api.github.com/users/sagliksever/followers","following_url":"https://api.github.com/users/sagliksever/following{/other_user}","gists_url":"https://api.github.com/users/sagliksever/gists{/gist_id}","starred_url":"https://api.github.com/users/sagliksever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagliksever/subscriptions","organizations_url":"https://api.github.com/users/sagliksever/orgs","repos_url":"https://api.github.com/users/sagliksever/repos","events_url":"https://api.github.com/users/sagliksever/events{/privacy}","received_events_url":"https://api.github.com/users/sagliksever/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-15T10:35:53Z","updated_at":"2016-05-17T14:31:48Z","closed_at":null,"body":"i add bb press purge cache please add \r\n\r\n                add_action( 'bbp_theme_after_topic_form_content', 'purge_post_on_update' );\r\n                add_action( 'bbp_theme_after_reply_form_content', 'purge_post_on_update' );\r\n\r\n```\r\n\t/**\r\n\t * Setup hooks/filters\r\n\t *\r\n\t * @since 1.0\r\n\t */\r\n\tpublic function setup() {\r\n\r\n\t\tadd_action( 'admin_notices', array( $this, 'print_notice' ) );\r\n\t\tadd_action( 'pre_post_update', array( $this, 'purge_post_on_update' ), 10, 1 );\r\n\t\tadd_action( 'save_post', array( $this, 'purge_post_on_update' ), 10, 1 );\r\n\t\tadd_action( 'wp_trash_post', array( $this, 'purge_post_on_update' ), 10, 1 );\r\n\t\tadd_action( 'comment_post', array( $this, 'purge_post_on_new_comment' ), 10, 3 );\r\n\t\tadd_action( 'wp_set_comment_status', array( $this, 'purge_post_on_comment_status_change' ) );\r\n\t\tadd_action( 'set_comment_cookies', array( $this, 'set_comment_cookie_exceptions' ) );\r\n                add_action( 'bbp_theme_after_topic_form_content', 'purge_post_on_update' );\r\n                add_action( 'bbp_theme_after_reply_form_content', 'purge_post_on_update' );\r\n\t}\r\n```"},"comment":{"url":"https://api.github.com/repos/tlovett1/simple-cache/issues/comments/219736225","html_url":"https://github.com/tlovett1/simple-cache/issues/4#issuecomment-219736225","issue_url":"https://api.github.com/repos/tlovett1/simple-cache/issues/4","id":219736225,"user":{"login":"sagliksever","id":18511203,"avatar_url":"https://avatars.githubusercontent.com/u/18511203?v=3","gravatar_id":"","url":"https://api.github.com/users/sagliksever","html_url":"https://github.com/sagliksever","followers_url":"https://api.github.com/users/sagliksever/followers","following_url":"https://api.github.com/users/sagliksever/following{/other_user}","gists_url":"https://api.github.com/users/sagliksever/gists{/gist_id}","starred_url":"https://api.github.com/users/sagliksever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagliksever/subscriptions","organizations_url":"https://api.github.com/users/sagliksever/orgs","repos_url":"https://api.github.com/users/sagliksever/repos","events_url":"https://api.github.com/users/sagliksever/events{/privacy}","received_events_url":"https://api.github.com/users/sagliksever/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T14:31:48Z","updated_at":"2016-05-17T14:31:48Z","body":"thank you friend"}}