labzone/wp-api

Wordpress.org API

dev-master 2023-04-27 07:14 UTC

This package is auto-updated.

Last update: 2024-11-25 00:59:01 UTC


README

Scrutinizer Code Quality Build Status

Wordpress.org API

Examples

Plugin

Search

$response = WPApi\WPApi::plugin()->search('wordpress seo');

Slug

$response = WPApi\WPApi::plugin()->slug('wordpress-seo');

Theme

Search

$response = WPApi\WPApi::theme()->search('simple');

Slug

$response = WPApi\WPApi::theme()->slug('simpler');

Author

$response = WPApi\WPApi::theme()->slug('fontethemes');