{"id":17430997,"date":"2024-02-16T14:18:27","date_gmt":"2024-02-16T14:18:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conflict-with-wp-hook\/"},"modified":"2024-02-16T14:18:27","modified_gmt":"2024-02-16T14:18:27","slug":"conflict-with-wp-hook","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conflict-with-wp-hook\/","title":{"rendered":"Conflict with &#8220;wp&#8221; hook"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My snippets use the &#8220;wp&#8221; hook. When I go to the &#8220;all reviews&#8221; tab, the plugin triggers the &#8216;wp&#8217; hook multiple times, which causes a fatal error: &#8220;(PHP Fatal error: Cannot redeclare redirect_author_page_to_home() (previously declared in\u2026)&#8221;. I have a lot of snippets and I would prefer not to change hook to something other than &#8220;wp&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Best,<br \/>Alex<\/p>\n","protected":false},"template":"","class_list":["post-17430997","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17430997","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\/17430997\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17430997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}