File: bp-document/classes/class-bp-document.php
Description
BP_Document::get_scope_query_sql()

Get the SQL for the ‘scope’ param in BP_Document::get().

Source: bp-document/classes/class-bp-document.php:560

BP_Document::get_in_operator_sql()

Create SQL IN clause for filter queries.

Source: bp-document/classes/class-bp-document.php:1505

bp_document_set_{$scope}_scope_args

Plugins can hook here to set their document arguments for custom scopes.

Source: bp-document/classes/class-bp-document.php:614

BP_Document::delete()

Delete document items from the database.

Source: bp-document/classes/class-bp-document.php:1554

BP_Document::get_document_data()

Convert document IDs to document objects, as expected in template loop.

Source: bp-document/classes/class-bp-document.php:657

bp_document_before_delete

Action to allow intercepting document items to be deleted.

Source: bp-document/classes/class-bp-document.php:1646