Note: Params marked with asterisk(*) are required.
-
Get Core Translation
Available API versions: 1.0
getCoreTranslations(wp_version, api_version)
Note: wp_version starts from 4.0
Usage
getCoreTranslations('4.9.5')
-
Get Core Version Info
Available API versions: 1.7
getCoreVersionInfo(wp_version, locale, api_version)
Usage
getCoreVersionInfo('4.0.1', 'eu')
-
Get Core Credit Details
Available API versions: 1.1
getCoreCreditDetails(wp_version, locale, api_version)
Usage
getCoreCreditDetails('4.0.1', 'eu')
-
Get Core Checksums
Available API versions: 1.0
getCoreChecksums(wp_version*, locale, api_version)
Usage
getCoreChecksums('5.5.1', 'eu')
-
Get Browser Info
Available API versions: 1.1
getBrowserInfo(useragent*)
Usage
getBrowserInfo('Chrome/86.0')
-
Get Core Version Stability Info
Available API versions: 1.0
getCoreVersionStabilityInfo(wp_version, api_version)
Usage
getCoreVersionStabilityInfo()
getCoreVersionStabilityInfo('4.6.20')
-
Get Core Statistics
Available API versions: 1.0
getCoreStats(api_version)
Usage
getCoreStats()
-
Filters list
-
search(string): Textual search, using a free-form string
-
tag('string' | 'array'): Return themes with a specified tag or set of tags(array of strings)
-
author(string): WordPress.org username of the author, pass this filter to return plugins authored by them
-
page(number): page number
default: 1
-
per_page(number): Plugins to show per page
default: 24
-
browse(string): Predefined themes ordering. Possible values are
- popular: Plugins ordered by popularity
- featured: Set of featured plugins
- updated: Recently updated plugins
- new: Latest plugins
-
Get plugins list
Available API versions: 1.1, 1.2
getPluginsList(filters, api_version)
Usage
getPluginsList()
getPluginsList({
tag: ['photography', 'blue'],
browse: 'popular',
page: 1,
per_page: 10,
})
-
Filter Plugins By
Available API versions: 1.1, 1.2
filterPluginsBy(filter_key*, filter_value*, page, per_page, api_version)
Usage
filterPluginsBy('search', 'buddypress', 1, 5)
filterPluginsBy('tag', ['popup', 'slideshow'])
filterPluginsBy('author', 'wordpressdotorg', 2, 3)
filterPluginsBy('browse', 'popular')
-
Get Plugins Info
Available API versions: 1.1, 1.2
getPluginInfo(plugin_slug, api_version)
Usage
getPluginInfo('wordpress-seo');
-
Get Plugin Hot Tags List
Available API versions: 1.1, 1.2
getPluginHotTagsList(api_version)
Note: tags_count is not implemented in the original api yet
Usage
getPluginHotTagsList()
-
Get Plugin Translations
Available API versions: 1.0
getPluginTranslations(slug, plugin_version, api_version)
Usage
getPluginTranslations('classic-editor', '1.5');
-
Get Plugin Downloads
Available API versions: 1.0
getPluginDownloads(plugin_slug*, limit, api_version)
limit: Downloads in last {limit} days
Usage
getPluginDownloads('classic-editor', 7)
-
Get Plugin Statistics
getPluginStats(plugin_slug*, api_version)
Usage
getPluginStats('classic-editor')
-
Filters list
-
search(string): Textual search, using a free-form string
-
tag('string' | 'array'): Return themes with a specified tag or set of tags(array of strings)
-
theme(string): Slug of a specific theme to return
-
author(string): WordPress.org username of the author, pass this filter to return themes authored by them
-
page(number): page number
default: 1
-
per_page(number): Themes to show per page
default: 24
-
browse(string): Predefined themes ordering. Possible values are
- popular: Themes ordered by popularity
- featured: Set of featured themes
- updated: Recently updated themes
- new: Latest themes
-
Get Themes List
Available API versions: 1.1, 1.2
getThemesList(filters, api_version)
Usage
getThemesList()
getThemesList({
tag: ['photography', 'blue'],
browse: 'popular',
page: 1,
per_page: 10,
})
-
Filter Themes By
Available API versions: 1.1, 1.2
filterThemesBy(filter_key*, filter_value*, page, per_page, api_version)
Usage
filterThemesBy('search', 'grid', 1, 15)
filterThemesBy('tag', ['photography', 'blue'])
filterThemesBy('theme', 'gridmag')
filterThemesBy('author', 'wordpressdotorg', 2, 3)
filterThemesBy('browse', 'popular')
-
Get Theme Info
Available API versions: 1.1, 1.2
getThemeInfo(theme_slug, api_version)
Usage
getThemeInfo('simple-grid')
-
Get Popular Theme Tags
Available API versions: 1.1, 1.2
getPopularThemeTags(tags_count, api_version)
Usage
getPopularThemeTags()
getPopularThemeTags(5)
-
Get Theme Translations
Available API versions: 1.0
getThemeTranslations(theme_slug*, theme_version, api_version)
Usage:
getThemeTranslations('grocery-store', '1.0.2')