Download the PHP package moxie-lean/wp-endpoints-authors without Composer
On this page you can find all versions of the php package moxie-lean/wp-endpoints-authors. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download moxie-lean/wp-endpoints-authors
More information about moxie-lean/wp-endpoints-authors
Files in moxie-lean/wp-endpoints-authors
Package wp-endpoints-authors
Short Description Query against a WordPress site and get a JSON response with a collection of authors associated with your request.
License MIT
Homepage https://github.com/moxie-lean/wp-endpoints-authors
Informations about the package wp-endpoints-authors
WP Endpoint Authors
This package is depreciated. LEAN now uses the WordPress REST API plugins instead
Query against a WordPress site and get a JSON response with a collection of authors associated with your request.
Getting Started
The easiest way to install this package is by using composer from your terminal:
Or by adding the following lines on your composer.json
file
This will download the files from the packagist site and set you up with the latest version located on master branch of the repository.
After that you can include the autoload.php
file in order to
be able to autoload the class during the object creation.
Features
Returns only a collection of authors.
Usage.
The default URL is:
By default the collection is the list of users excluding administrators, you can use most of the WP_User_Query params in order to update your results and there is a filter available to override query arguments.
Request examples
Get list of authors.