{"id":12639028,"date":"2020-04-07T09:08:27","date_gmt":"2020-04-07T09:08:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-function\/"},"modified":"2020-04-07T09:08:27","modified_gmt":"2020-04-07T09:08:27","slug":"using-function","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-function\/","title":{"rendered":"Using function"},"content":{"rendered":"<p>How do you use this function <code>alg_display_product_input_fields<\/code><\/p>\n<p>I am trying to add it to my template, but it is not showing. It will show if I do<br \/>\n<code>&lt;?php echo alg_display_product_input_fields() ?&gt;<\/code> but that will not submit it to the order or cart when added. What&#8217;s the proper syntax?<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-12639028","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12639028","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\/12639028\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12639028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}