{"id":1383961,"date":"2010-02-12T20:19:48","date_gmt":"2010-02-12T20:19:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-php-in-custom-fields\/"},"modified":"2016-08-19T15:57:43","modified_gmt":"2016-08-19T15:57:43","slug":"using-php-in-custom-fields","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-php-in-custom-fields\/","title":{"rendered":"Using PHP in Custom Fields"},"content":{"rendered":"<p>Ok, so I have seen a couple of topics relating to this but none have really answered my question. I want to be able to just simply use php in a custom field. Like so:<\/p>\n<p><code>&lt;?php include(&quot;term-sample.php&quot;); ?&gt;<\/code><\/p>\n<p>It&#8217;s not important to know WHY I want to do it, it&#8217;s just that I&#8217;ve explored other options and this is how I want to handle it without creating more templates. <\/p>\n<p>Are there any ideas out there? Thanks in advance!<\/p>\n","protected":false},"template":"","class_list":["post-1383961","topic","type-topic","status-closed","hentry","topic-tag-page-slug","topic-tag-php","topic-tag-slug"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1383961","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\/1383961\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1383961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}