WordPress Theme/Plugin Information API Response to Text and Button
When requesting to WordPress API for any plugin or theme information for the versions field
https://api.wordpress.org/themes/info/1.1/?action=theme_informationrequest[per_page]=12request[slug]=twentyfifteenrequest[fields][tags]=0request[fields][sections]=0request[fields][screenshot_url]=0request[fields][versions]=1
I get JSON array response. Something like this:
1.0:https://downloads.wordpress.org/theme/twentyfifteen.1.0.zip, 1.1:https://downloads.wordpress.org/theme/twentyfifteen.1.1.zip, 1.2:https://downloads.wordpress.org/theme/twentyfifteen.1.2.zip,
Also These are Dynamically generated.
So I want to dynamically convert the version number as simple text and the download link as a button href URL. Also I want to wrap the whole section into a nice table with two columns, one with the version number another with the download button. If anybody can help me with the code, I will be highly grateful. Thanks in advance.
Topic plugin-json-api json api Wordpress
Category Web