Hooks
Description
bp_do_register_theme_directory

Filters whether BuddyPress should register the bp-themes directory.

Source: bp-core/deprecated/buddyboss/1.0.php:382

bp_document_add

Fires at the end of the execution of adding a new document item, before returning the new document item ID.

Source: bp-document/bp-document-functions.php:553

bp_document_add_handler

Fires at the end of the execution of adding saving a document item, before returning the new document items in ajax response.

Source: bp-document/bp-document-functions.php:656

bp_document_after_delete

Action to allow intercepting document items just deleted.

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

bp_document_after_save

Fires after an document item has been saved to the database.

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

bp_document_before_delete

Action to allow intercepting document items to be deleted.

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

bp_document_before_save

Fires before the current document item gets saved.

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

bp_document_default_scope

Filter to update default scope.

Source: bp-document/bp-document-functions.php:3475

bp_document_delete

Fires after the document item has been deleted.

Source: bp-document/bp-document-functions.php:712

bp_document_deleted_documents

Fires after the document item has been deleted.

Source: bp-document/bp-document-functions.php:721

bp_document_file_upload_max_size

Filters doucment file upload max limit.

Source: bp-document/bp-document-functions.php:271

bp_document_folder_after_delete

Action to allow intercepting folders just deleted.

Source: bp-document/classes/class-bp-document-folder.php:714

bp_document_folder_after_save

Fires after an folder has been saved to the database.

Source: bp-document/classes/class-bp-document-folder.php:859

bp_document_folder_before_delete

Action to allow intercepting folders to be deleted.

Source: bp-document/classes/class-bp-document-folder.php:680

bp_document_folder_before_save

Fires before the current folder gets saved.

Source: bp-document/classes/class-bp-document-folder.php:829

bp_document_folder_get_include_user_search

Filters whether or not to include users for search parameters.

Source: bp-document/classes/class-bp-document-folder.php:268

bp_document_folder_get_join_sql

Filter the MySQL JOIN clause for the main document query.

Source: bp-document/classes/class-bp-document-folder.php:364

bp_document_folder_get_meta

Filters the metadata for a specified document folder item.

Source: bp-document/bp-document-functions.php:208

bp_document_folder_get_where_conditions

Filters the MySQL WHERE conditions for the folders get method.

Source: bp-document/classes/class-bp-document-folder.php:344

bp_document_folder_paged_activities_sql

Filters the paged document MySQL statement.

Source: bp-document/classes/class-bp-document-folder.php:393

bp_document_folder_prefetch_object_data

Filters inside prefetch_object_data method to aid in pre-fetching object data associated with folder.

Source: bp-document/classes/class-bp-document-folder.php:584

bp_document_folder_total_documents_sql

Filters the total document MySQL statement.

Source: bp-document/classes/class-bp-document-folder.php:441

bp_document_get

Filters the requested document item(s).

Source: bp-document/bp-document-functions.php:396

bp_document_get_document_activity

Filters the document activity object being displayed.

Source: bp-document/bp-document-functions.php:790

bp_document_get_include_user_search

Filters whether or not to include users for search parameters.

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

bp_document_get_join_sql

Filter the MySQL JOIN clause for the main document query.

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

bp_document_get_join_sql_folder

Filter the MySQL JOIN clause for the main document query.

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

bp_document_get_meta

Filters the metadata for a specified document item.

Source: bp-document/bp-document-functions.php:90

bp_document_get_settings_fields

Document Extensions Section

Source: bp-media/bp-media-settings.php:1348

bp_document_get_specific

Filters the requested specific document item.

Source: bp-document/bp-document-functions.php:452

bp_document_get_total_document_count

Filters the total document count for a given user.

Source: bp-document/bp-document-functions.php:820

bp_document_get_total_group_document_count

Filters the total document count for a given group.

Source: bp-document/bp-document-functions.php:850

bp_document_get_total_group_folder_count

Filters the total folder count for a given group.

Source: bp-document/bp-document-functions.php:880

bp_document_get_visibility_levels

Filters the document visibility levels out of the $bp global.

Source: bp-document/bp-document-functions.php:2240

bp_document_get_where_conditions

Filters the MySQL WHERE conditions for the Document items get method.

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

bp_document_get_where_conditions_document

Filters the MySQL WHERE conditions for the Document items get method.

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

bp_document_has_more_items

Filters whether there are more document items to display.

Source: bp-document/bp-document-template.php:394

bp_document_paged_activities_sql

Filters the paged document MySQL statement.

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

bp_document_paged_activities_sql_folder

Filters the paged document MySQL statement.

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

bp_document_prefetch_object_data

Filters inside prefetch_object_data method to aid in pre-fetching object data associated with document item.

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

bp_document_remove_all_user_data

Fires after the removal of all of a user’s document data.

Source: bp-document/bp-document-functions.php:752

bp_document_screen_index

Filters the template to load for the Document directory screen.

Source: bp-document/screens/directory.php:32

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_set_document_{$scope}_scope_args

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

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

bp_document_set_folder_{$scope}_scope_args

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

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

bp_document_svg_icon

Include required files.

Source: bp-document/bp-document-functions.php:1563

bp_document_total_documents_sql

Filters the total document MySQL statement.

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

bp_document_user_can_delete

Filters whether the current user can delete an document item.

Source: bp-document/bp-document-template.php:771

bp_document_user_can_edit

Filters whether the current user can edit an document item.

Source: bp-document/bp-document-template.php:843

bp_email

Fires inside __construct() method for BP_Email class.

Source: bp-core/classes/class-bp-email.php:193