BP_REST_Signup_Endpoint
Signup endpoints.
Description Description
Use /signup Use /signup/{id} Use /signup/activate/{id}
Source Source
File: bp-members/classes/class-bp-rest-signup-endpoint.php
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- activate_item — Activate a signup.
- activate_item_permissions_check — Check if a given request has access to activate a signup.
- check_user_password — Check a user password for the REST API.
- create_item — Create signup.
- create_item_permissions_check — Checks if a given request has access to create a signup.
- delete_item — Delete a signup.
- delete_item_permissions_check — Check if a given request has access to delete a signup.
- get_available_languages — Get site's available locales.
- get_collection_params — Get the query params for collections.
- get_endpoint_args_for_item_schema — Edit the type of the some properties for the CREATABLE & EDITABLE methods.
- get_item — Retrieve single signup.
- get_item_permissions_check — Check if a given request has access to get a signup.
- get_item_schema — Get the signup schema, conforming to JSON Schema.
- get_items — Retrieve signups.
- get_items_permissions_check — Check if a given request has access to signup items.
- get_signup_object — Get signup object.
- is_blog_signup_allowed — Is it possible to signup with a blog?
- prepare_item_for_response — Prepares signup to return as an object.
- register_routes — Register the component routes.