{"id":11159618,"date":"2019-02-02T01:55:26","date_gmt":"2019-02-02T01:55:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/where-to-place-php-code-2\/"},"modified":"2019-02-02T12:16:56","modified_gmt":"2019-02-02T12:16:56","slug":"where-to-place-php-code-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/where-to-place-php-code-2\/","title":{"rendered":"Where to place PHP Code?"},"content":{"rendered":"<p>Hi community!<\/p>\n<p>I would like to add a Privacy Policy checkbox to the default WP registration Form. I have found this here: https:\/\/wpbrigade.com\/add-privacy-policy-checkbox-registration-form\/<\/p>\n<p>Now I am just wondering &#8211; where do I paste this code? Does all of that go into a functions.php file (in a child theme I guess?) or is it saved as a plugin?<\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-11159618","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11159618","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11159618\/revisions"}],"predecessor-version":[{"id":11160408,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11159618\/revisions\/11160408"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11159618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}