This plugin enables data to be outputted at json for any url in wordpress.
Add the query ?mRouterData=json to any url to get output as json.
- Visit 'Plugins > Add New'
- Search for 'WPRR API'
- Activate WPRR API from your Plugins page.
- Upload the folder
wprr-api
to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
{
id: int,
login: string,
email: string,
name: string,
}
Gets the details for the current user
GET /wp-content/plugins/wprr-api/data/me/
{
code: "success",
data: {
user: CurrentUserData,
restNonce: string
}
}
Response for not signed in
{
code: "success",
data: null
}
- Started to move over to the wprr namespace
- New endpoint for range
- Acf encoding of meta
- First version of rendering
- Added hook for encoding of term
- Correct translation of acf options
- Image redirection
- Added support for id redirect
- Added support for add-ons
- Changed loading of acf values to support options
- Added menu end point
- Added prepare of encoding
- Added endpoint to get acf options
- Check for permissions on api endpoints
- Added attachment upload
- Added check for permissions
- External encoding of terms
- New edit post function
- Apply filters for wysiwyg in acf repeater
- Added custom ranges
- Changed domain
- Added encode_post_link as an external function
- Correct encoding of page links
- Adding image data to attachment
- Encoding flexible content
- Added performance data
- Ordering for ranges
- More performance on getting images
- Correct order for children
- Correct value for pagination
- Added object for data beloning to the query
- Added language description
- Added meta to terms
- Added encoding for oembed
- Fixed images
- Check if file exists
- Encoding media files in acf
- Added slug to encoded terms
- Added possibility to select multiple terms for ranges
- Added encoding of acf taxonomies
- Added image range endpoint
- Added post range endpoint
- External availability to encode request
- Encoding acf galleries
- Added output buffer for php messages
- Removed notice when image sizes are missing
- Added endpoint for customizer data
- Added more data to images
- Encoding acf repeater fields
- Moved encoding of images
- Added encoding of acf fields
- Added children to posts
- Fixed misspelled domains
- Added encoding of post links
- Added parent to posts
- Added end point to get data by id
- Added acf encoding
- Refactored encoding to external class
- Fixed problem with posts page
- Added gravatar hash
- Added wordpress version to meta data
- Fixed content and excerpt for queriedData
- Not loading main.css that isn't in use
- Added post thumbnails to output
- Changed all link attributes to permalink
- Fixed problems with getting authors
- Added additional checks for front page
- Added queried data to response
- Added encoding of users
- Added encoding of terms
- Added base classes for react areas
- Moved encoding of post to separate function
- Added webpack for notices and react areas in admin
- Changed structure to use odd core
- Changed format to have a main data field and a main metadata field
- Added publish date
- Changed id to lower case
- Added type and status to post
- Added post type to template selection
- Added permalink to posts
- Added terms to post
- Moved template selection parameters to own object
- Made query and queried object private to be used for debug only
- Added posts
- Added readme.
- Added query to response.
- First release.