From the link above, we can see the Wordpress.org provide a function that can access the Wordpress.org plugins and get the plugins information from there...

But I search on google for few days already...still cannot found any information about the wordpress.org themes api. Is Wordpress provide a function like plugins_api? And the usage of the themes_api(if available)? That is my question.

  • The answer is yes otherwise you would not have been able to see the details of theme on your wordpress. Asking for the description of the usage is not really a question, but it should be relatively easy to learn from the wordpress source code. – Mark Kaplun Jan 1 '14 at 6:05
  • According to wpseek.com, there is a themes_api() function in WordPress. There isn't currently an entry in the Codex for it, though. As @MarkKaplun points out, you can examine WP's source code to work out what it does: core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/… In the current version, the themes_api() function starts at line 274. – Pat J Jan 1 '14 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.