{"id":4524926,"date":"2014-01-20T22:05:57","date_gmt":"2014-01-20T22:05:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/request-for-another-php-function\/"},"modified":"2016-08-21T14:58:46","modified_gmt":"2016-08-21T14:58:46","slug":"request-for-another-php-function","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/request-for-another-php-function\/","title":{"rendered":"Request for another php function"},"content":{"rendered":"<p>Hi,<br \/>\npardon the probably stupid question but I&#8217;m a newbie to plugin development.<br \/>\nI need to do a sort of product catalogue.<br \/>\nI&#8217;ve prepared the mysql tables, the db accessor php classes and the domain objects. Now I&#8217;m able to read and print (via Div tags) a list of products (picture, name, price).<br \/>\nThis is realized using a shortcode in a static wp page.<\/p>\n<p>Now the question is: which is the better way to invoke another php function that, after a product is clicked, print another list of the selected product features?<\/p>\n<p>Thanks in advance<br \/>\nFabio<\/p>\n","protected":false},"template":"","class_list":["post-4524926","topic","type-topic","status-closed","hentry","topic-tag-database-access"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4524926","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\/4524926\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4524926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}