{"id":12189227,"date":"2019-11-29T14:42:02","date_gmt":"2019-11-29T14:42:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-function-idea\/"},"modified":"2019-11-29T14:42:02","modified_gmt":"2019-11-29T14:42:02","slug":"php-function-idea","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-function-idea\/","title":{"rendered":"php function idea"},"content":{"rendered":"<p>Hi, we have an education site and the editors must select the option &#8220;php_function&#8221; with several functions we have created, so they must remember the names of these functions, and can have mistakes.<\/p>\n<p>Is it possible to add a filter to preselect the allowed function names? So that returning an array of names will display a drop-down instead of a text box. If the array is empty then the text box is displayed.<\/p>\n<p>I would also like to be able to translate the plugin, please tell us if we can collaborate with spanish translation<\/p>\n<p>Thank you very much and greetings<\/p>\n","protected":false},"template":"","class_list":["post-12189227","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12189227","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\/12189227\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12189227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}