File: bp-document/classes/class-bp-document.php |
Description |
---|---|
BP_Document::get_document_folder_meta_query_sql() |
Get the SQL for the ‘meta_query’ param in BP_Document::get(). |
BP_Document::get_activity_attachment_id() |
Get document attachment id for the activity. |
BP_Document::get_meta_query_sql() |
Get the SQL for the ‘meta_query’ param in BP_Document::get(). |
BP_Document::get_scope_query_sql() |
Get the SQL for the ‘scope’ param in BP_Document::get(). |
BP_Document::get_in_operator_sql() |
Create SQL IN clause for filter queries. |
bp_document_set_{$scope}_scope_args |
Plugins can hook here to set their document arguments for custom scopes. |
BP_Document::delete() |
Delete document items from the database. |
BP_Document::get_document_data() |
Convert document IDs to document objects, as expected in template loop. |
bp_document_before_delete |
Action to allow intercepting document items to be deleted. |
BP_Document::prefetch_object_data() |
Pre-fetch data for objects associated with document items. |