File: bp-document/bp-document-filters.php
Description
bp_document_set_nocache_constants()

Set constants to prevent caching by some plugins.

Source: bp-document/bp-document-filters.php:932

bp_document_maybe_define_constant()

Define a constant if it is not already defined.

Source: bp-document/bp-document-filters.php:946

bp_document_nocache_headers()

Wrapper for nocache_headers which also disables page caching.

Source: bp-document/bp-document-filters.php:957

bp_document_get_download_content_type()

Get content type of a download.

Source: bp-document/bp-document-filters.php:969

bp_document_download_headers()

Set headers for the download.

Source: bp-document/bp-document-filters.php:992

bp_document_download_file_force()

Force download – this is the default method.

Source: bp-document/bp-document-filters.php:1035

bp_document_download_error()

Die with an error message if the download fails.

Source: bp-document/bp-document-filters.php:1062

bp_document_download_file_redirect()

Redirect to a file to start the download.

Source: bp-document/bp-document-filters.php:1076

bp_document_parse_file_path()

Parse file path and see if its remote or local.

Source: bp-document/bp-document-filters.php:1088

bp_document_get_download_range()

Parse the HTTP_RANGE request from iOS devices.

Source: bp-document/bp-document-filters.php:1155