{"id":16875440,"date":"2023-07-06T14:24:53","date_gmt":"2023-07-06T14:24:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/programmatically-close-modal\/"},"modified":"2023-07-06T14:24:53","modified_gmt":"2023-07-06T14:24:53","slug":"programmatically-close-modal","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/programmatically-close-modal\/","title":{"rendered":"Programmatically close modal"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello &#8211; <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin works great, however I&#8217;m facing a situation where I need to programmatically close the modal after a form submits &#8211; is there a function I can call on form success? <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you<\/p>\n","protected":false},"template":"","class_list":["post-16875440","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16875440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16875440\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16875440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}