{"id":16522293,"date":"2023-03-02T17:22:52","date_gmt":"2023-03-02T17:22:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/dequeue-scripts-3\/"},"modified":"2023-03-02T17:22:52","modified_gmt":"2023-03-02T17:22:52","slug":"dequeue-scripts-3","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/dequeue-scripts-3\/","title":{"rendered":"Dequeue Scripts"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<br \/><br \/>I am attempting to improve site performance on the site linked above. With that being said, I want to dequeue\/deregister or remove the action that is enqueuing scripts for akismet for logged out users and on certain pages where the javascript does not need to be ran. I have tried dequeuing and deregistering via the child theme but have not had any success. Can you please tell me how I can do this via dequeuing or removing the action that calls the enqueue function. Thanks in advance for any help you might be able to provide on this topic. <\/p>\n","protected":false},"template":"","class_list":["post-16522293","topic","type-topic","status-publish","hentry","topic-tag-dequeue","topic-tag-deregister","topic-tag-remove-action"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16522293","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\/16522293\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16522293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}