File: bp-document/classes/class-bp-rest-document-endpoint.php |
Description |
---|---|
BP_REST_Document_Endpoint::bp_rest_create_document() |
Create the Document IDs from Upload IDs. |
BP_REST_Document_Endpoint::update_item_permissions_check() |
Check if a given request has access to update a document. |
BP_REST_Document_Endpoint::bp_rest_document_default_scope() |
Get default scope for the document. |
BP_REST_Document_Endpoint::delete_item() |
Delete a single document. |
bp_rest_document_default_scope |
Filter to update default scope. |
bp_rest_document_delete_item |
Fires after a document is deleted via the REST API. |
BP_REST_Document_Endpoint::bp_rest_check_privacy_restriction() |
Check user access based on the privacy for the single document. |
BP_REST_Document_Endpoint::delete_item_permissions_check() |
Checks if a given request has access to for the user. |
BP_REST_Document_Endpoint::bp_rest_document_support() |
Added document support for activity, forum and messages. |
bp_rest_document_delete_item_permissions_check |
Filter the document `delete_item` permissions check. |