{"id":11247985,"date":"2019-02-26T01:53:26","date_gmt":"2019-02-26T01:53:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/add-code-without-using-a-hook\/"},"modified":"2019-02-26T01:53:26","modified_gmt":"2019-02-26T01:53:26","slug":"add-code-without-using-a-hook","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/add-code-without-using-a-hook\/","title":{"rendered":"Add code without using a hook"},"content":{"rendered":"<p>I would like to add some additional options at the bottom of the &#8216;Edit Gallery&#8217; UI <code>(media-template.php l.781)<\/code>, but I can&#8217;t find a hook for that.<br \/>\nIs there another way to add code there without touching the WordPress&#8217; core file?<br \/>\nWhat&#8217;s usually the practice for extending WordPress in places where there are no hooks?<\/p>\n","protected":false},"template":"","class_list":["post-11247985","topic","type-topic","status-publish","hentry","topic-tag-hook"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11247985","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\/11247985\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11247985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}