{"id":5295,"date":"2019-11-28T12:49:11","date_gmt":"2019-11-28T12:49:11","guid":{"rendered":"https:\/\/wpdiscuz.com\/?post_type=docs&#038;p=5295"},"modified":"2021-11-26T11:52:30","modified_gmt":"2021-11-26T11:52:30","slug":"wpdiscuz_ajax_callbacks","status":"publish","type":"docs","link":"https:\/\/wpdiscuz.com\/docs\/codex\/filters\/wpdiscuz_ajax_callbacks\/","title":{"rendered":"wpdiscuz_ajax_callbacks"},"content":{"rendered":"<p>This filter can be used for changing the response array that should be returned to the JS after the following cases:<br \/>\n   1. when the comment is called by the ID<br \/>\n   2. when the Load More function is working,<br \/>\n   3. when you click on the sorting buttons<br \/>\n   4. when you click on the show replies button, etc.<\/p>\n","protected":false},"featured_media":0,"parent":5220,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-5295","docs","type-docs","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>wpdiscuz_ajax_callbacks - wpDiscuz - WordPress Comment Plugin<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"wpdiscuz_ajax_callbacks - wpDiscuz - WordPress Comment Plugin\" \/>\n<meta property=\"og:description\" content=\"This filter can be used for changing the response array that should be returned to the JS after the following cases: 1. when the comment is called by the ID 2. when the Load More function is working, 3. when you click on the sorting buttons 4. when you click on the show replies button,&hellip;Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/\" \/>\n<meta property=\"og:site_name\" content=\"wpDiscuz - WordPress Comment Plugin\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-26T11:52:30+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/docs-2\\\/codex\\\/filters\\\/wpdiscuz_ajax_callbacks\\\/\",\"url\":\"https:\\\/\\\/wpdiscuz.com\\\/docs-2\\\/codex\\\/filters\\\/wpdiscuz_ajax_callbacks\\\/\",\"name\":\"wpdiscuz_ajax_callbacks - wpDiscuz - WordPress Comment Plugin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/#website\"},\"datePublished\":\"2019-11-28T12:49:11+00:00\",\"dateModified\":\"2021-11-26T11:52:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/docs-2\\\/codex\\\/filters\\\/wpdiscuz_ajax_callbacks\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpdiscuz.com\\\/docs-2\\\/codex\\\/filters\\\/wpdiscuz_ajax_callbacks\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/docs-2\\\/codex\\\/filters\\\/wpdiscuz_ajax_callbacks\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpdiscuz.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"wpDiscuz 7 API Documentation\",\"item\":\"https:\\\/\\\/wpdiscuz.com\\\/docs-2\\\/codex\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Filters\",\"item\":\"https:\\\/\\\/wpdiscuz.com\\\/docs-2\\\/codex\\\/filters\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"wpdiscuz_ajax_callbacks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/#website\",\"url\":\"https:\\\/\\\/wpdiscuz.com\\\/\",\"name\":\"wpDiscuz - WordPress Comment Plugin\",\"description\":\"All you can imagine to extend Wordpress comment system\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpdiscuz.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/#organization\",\"name\":\"gVectors Team\",\"url\":\"https:\\\/\\\/wpdiscuz.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wpdiscuz.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/wpDiscuz-WordPress-Comment-Plugin-Logo.png\",\"contentUrl\":\"https:\\\/\\\/wpdiscuz.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/wpDiscuz-WordPress-Comment-Plugin-Logo.png\",\"width\":492,\"height\":120,\"caption\":\"gVectors Team\"},\"image\":{\"@id\":\"https:\\\/\\\/wpdiscuz.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"wpdiscuz_ajax_callbacks - wpDiscuz - WordPress Comment Plugin","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/","og_locale":"en_US","og_type":"article","og_title":"wpdiscuz_ajax_callbacks - wpDiscuz - WordPress Comment Plugin","og_description":"This filter can be used for changing the response array that should be returned to the JS after the following cases: 1. when the comment is called by the ID 2. when the Load More function is working, 3. when you click on the sorting buttons 4. when you click on the show replies button,&hellip;Read More","og_url":"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/","og_site_name":"wpDiscuz - WordPress Comment Plugin","article_modified_time":"2021-11-26T11:52:30+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/","url":"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/","name":"wpdiscuz_ajax_callbacks - wpDiscuz - WordPress Comment Plugin","isPartOf":{"@id":"https:\/\/wpdiscuz.com\/#website"},"datePublished":"2019-11-28T12:49:11+00:00","dateModified":"2021-11-26T11:52:30+00:00","breadcrumb":{"@id":"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/wpdiscuz_ajax_callbacks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpdiscuz.com\/"},{"@type":"ListItem","position":2,"name":"wpDiscuz 7 API Documentation","item":"https:\/\/wpdiscuz.com\/docs-2\/codex\/"},{"@type":"ListItem","position":3,"name":"Filters","item":"https:\/\/wpdiscuz.com\/docs-2\/codex\/filters\/"},{"@type":"ListItem","position":4,"name":"wpdiscuz_ajax_callbacks"}]},{"@type":"WebSite","@id":"https:\/\/wpdiscuz.com\/#website","url":"https:\/\/wpdiscuz.com\/","name":"wpDiscuz - WordPress Comment Plugin","description":"All you can imagine to extend Wordpress comment system","publisher":{"@id":"https:\/\/wpdiscuz.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpdiscuz.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wpdiscuz.com\/#organization","name":"gVectors Team","url":"https:\/\/wpdiscuz.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpdiscuz.com\/#\/schema\/logo\/image\/","url":"https:\/\/wpdiscuz.com\/wp-content\/uploads\/2019\/12\/wpDiscuz-WordPress-Comment-Plugin-Logo.png","contentUrl":"https:\/\/wpdiscuz.com\/wp-content\/uploads\/2019\/12\/wpDiscuz-WordPress-Comment-Plugin-Logo.png","width":492,"height":120,"caption":"gVectors Team"},"image":{"@id":"https:\/\/wpdiscuz.com\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/docs\/5295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/comments?post=5295"}],"version-history":[{"count":2,"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/docs\/5295\/revisions"}],"predecessor-version":[{"id":10457,"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/docs\/5295\/revisions\/10457"}],"up":[{"embeddable":true,"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/docs\/5220"}],"wp:attachment":[{"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/media?parent=5295"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpdiscuz.com\/wp-json\/wp\/v2\/doc_tag?post=5295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}