Tài liệu dành cho lập trình viên WP File Download
Tài liệu này sẽ giúp các lập trình viên có kinh nghiệm tích hợp plugin của chúng tôi với bất kỳ dịch vụ nào khác. Dưới đây là tất cả các hành động và bộ lọc cho plugin này, nếu bạn cần thêm, vui lòng hỏi bằng cách sử dụng diễn đàn chuyên dụng này. Cảm ơn bạn đã sử dụng plugin của chúng tôi!
import_term_meta
Sự kiện xảy ra sau khi thuật ngữ meta được nhập.
Thông số:
int $term_id ID of the newly created term.string $key Meta key.mixed $value Meta value.
Return :
void
Trong các tệp:
app/admin/classes/import/class-wp-import.php dòng 401
wpdf_admin_notices
Hành động viết thông báo nhập khẩu
Thông số:
none
Return :
void
Trong các tệp:
app/admin/views/config/tpl/ui-default.php dòng 50app/admin/views/wpfd/tpl/ui-default.php dòng 153app/admin/views/iconsbuilder/tpl/default.php dòng 50
wpfd_addon_stream_file_pdf_embed
Hành động được kích hoạt khi đọc trực tiếp tệp PDF trên đám mây
Thông số:
integer|string $fileId Cloud file idstring $categoryFrom Category sourcestring $url Url embed
Return :
void
Trong các tệp:
app/site/init.php dòng 224
wpfd_addon_update_version_description
Cập nhật phiên bản và mô tả hành động sau khi sao chép
Thông số:
string Versionstring Descriptionstring Category fromstring Category TermId
Return :
void
Trong các tệp:
app/admin/controllers/files.php dòng 950app/admin/controllers/files.php dòng 1043app/admin/controllers/files.php dòng 2765app/admin/controllers/files.php dòng 1076app/admin/controllers/files.php dòng 1382app/admin/controllers/files.php dòng 1884app/admin/controllers/files.php dòng 3176app/admin/controllers/files.php dòng 3667app/admin/controllers/files.php dòng 1138app/admin/controllers/files.php dòng 2168app/admin/controllers/files.php dòng 2842app/admin/controllers/files.php dòng 3978app/admin/controllers/files.php dòng 1197app/admin/controllers/files.php dòng 1321app/admin/controllers/files.php dòng 1644app/admin/controllers/files.php dòng 2902app/admin/controllers/files.php dòng 3043app/admin/controllers/files.php dòng 3380app/admin/controllers/files.php dòng 1260app/admin/controllers/files.php dòng 1764app/admin/controllers/files.php dòng 2293app/admin/controllers/files.php dòng 2970app/admin/controllers/files.php dòng 4108app/admin/controllers/files.php dòng 1441app/admin/controllers/files.php dòng 1549app/admin/controllers/files.php dòng 3105app/admin/controllers/files.php dòng 3519app/admin/controllers/files.php dòng 1515app/admin/controllers/files.php dòng 3262app/admin/controllers/files.php dòng 1582app/admin/controllers/files.php dòng 1943app/admin/controllers/files.php dòng 3593app/admin/controllers/files.php dòng 3725app/admin/controllers/files.php dòng 1707app/admin/controllers/files.php dòng 1823app/admin/controllers/files.php dòng 2421app/admin/controllers/files.php dòng 2017app/admin/controllers/files.php dòng 2094app/admin/controllers/files.php dòng 2228app/admin/controllers/files.php dòng 2355app/admin/controllers/files.php dòng 2484app/admin/controllers/files.php dòng 4039app/admin/controllers/files.php dòng 4181app/admin/controllers/files.php dòng 4323app/admin/controllers/files.php dòng 2679app/admin/controllers/files.php dòng 3309app/admin/controllers/files.php dòng 3446app/admin/controllers/files.php dòng 4249app/admin/controllers/files.php dòng 3813app/admin/controllers/files.php dòng 3845
wpfd_addon_update_version_description
Hành động cập nhật phiên bản và mô tả sau khi sao chép
Thông số:
string Versionstring Descriptionstring Category fromstring Category TermId
Return :
void
Trong các tệp:
app/admin/controllers/files.php dòng 950app/admin/controllers/files.php dòng 1043app/admin/controllers/files.php dòng 2765app/admin/controllers/files.php dòng 1076app/admin/controllers/files.php dòng 1382app/admin/controllers/files.php dòng 1884app/admin/controllers/files.php dòng 3176app/admin/controllers/files.php dòng 3667app/admin/controllers/files.php dòng 1138app/admin/controllers/files.php dòng 2168app/admin/controllers/files.php dòng 2842app/admin/controllers/files.php dòng 3978app/admin/controllers/files.php dòng 1197app/admin/controllers/files.php dòng 1321app/admin/controllers/files.php dòng 1644app/admin/controllers/files.php dòng 2902app/admin/controllers/files.php dòng 3043app/admin/controllers/files.php dòng 3380app/admin/controllers/files.php dòng 1260app/admin/controllers/files.php dòng 1764app/admin/controllers/files.php dòng 2293app/admin/controllers/files.php dòng 2970app/admin/controllers/files.php dòng 4108app/admin/controllers/files.php dòng 1441app/admin/controllers/files.php dòng 1549app/admin/controllers/files.php dòng 3105app/admin/controllers/files.php dòng 3519app/admin/controllers/files.php dòng 1515app/admin/controllers/files.php dòng 3262app/admin/controllers/files.php dòng 1582app/admin/controllers/files.php dòng 1943app/admin/controllers/files.php dòng 3593app/admin/controllers/files.php dòng 3725app/admin/controllers/files.php dòng 1707app/admin/controllers/files.php dòng 1823app/admin/controllers/files.php dòng 2421app/admin/controllers/files.php dòng 2017app/admin/controllers/files.php dòng 2094app/admin/controllers/files.php dòng 2228app/admin/controllers/files.php dòng 2355app/admin/controllers/files.php dòng 2484app/admin/controllers/files.php dòng 4039app/admin/controllers/files.php dòng 4181app/admin/controllers/files.php dòng 4323app/admin/controllers/files.php dòng 2679app/admin/controllers/files.php dòng 3309app/admin/controllers/files.php dòng 3446app/admin/controllers/files.php dòng 4249app/admin/controllers/files.php dòng 3813app/admin/controllers/files.php dòng 3845
wpfd_admin_after_file_title_field
Hành động được thực hiện sau trường tiêu đề
Thông số:
string Current file information
Return :
void
Trong các tệp:
app/admin/forms/file.xml dòng 60
wpfd_after_bottom_file_save_settings
Hành động được thực thi sau khi nhấn nút lưu cài đặt tập tin ở cuối trang
Thông số:
string Current file information
Return :
void
Trong các tệp:
app/admin/forms/file.xml dòng 261
wpfd_after_category_main_settings
Kích hoạt hành động sau khi thiết lập chính danh mục ở bảng điều khiển bên phải
Thông số:
integer Current category id
Return :
void
Trong các tệp:
app/admin/views/category/tpl/default.php dòng 185
wpfd_after_create_new_category
Hành động sau khi tạo danh mục mới
Thông số:
integer New category idstring Category created name
Return :
void
Trong các tệp:
app/admin/controllers/category.php dòng 89
wpfd_after_fieldset_category_main_settings
Hành động kích hoạt sau khi thiết lập trường chính của danh mục trong bảng điều khiển bên phải
Thông số:
integer Current category id
Return :
void
Trong các tệp:
app/admin/views/category/tpl/default.php dòng 194
wpfd_after_single_file_info
Hành động được thực hiện sau khi hiển thị thông tin tệp trong chế độ hiển thị tệp đơn
Thông số:
object File object
Return :
void
Trong các tệp:
app/site/theme/templates/tpl-single.php dòng 75
wpfd_after_template_part
Hành động bắn sau một phần mẫu được gọi là
Thông số:
string Template namestring Template path dirstring Template patharray Template variables
Return :
void
Trong các tệp:
app/functions.php dòng 891
wpfd_before_category_main_settings
Hành động kích hoạt trước khi cài đặt chính danh mục ở bảng điều khiển bên phải
Thông số:
integer Current category id
Return :
void
Trong các tệp:
app/admin/views/category/tpl/default.php dòng 95
wpfd_before_fieldset_category_main_settings
Hành động kích hoạt trước khi thiết lập chính danh mục trong bảng điều khiển bên phải
Thông số:
integer Current category id
Return :
void
Trong các tệp:
app/admin/views/category/tpl/default.php dòng 64
wpfd_before_index_remove
Hành động bắn trước khi xóa chỉ mục
Thông số:
integer Post id
Return :
void
Trong các tệp:
app/admin/models/fts.php dòng 1088
wpfd_before_single_file_info
Thông tin về thao tác được thực hiện trước khi hiển thị thông tin tệp trong chế độ hiển thị tệp đơn
Thông số:
object File object
Return :
void
Trong các tệp:
app/site/theme/templates/tpl-single.php dòng 59
wpfd_before_template_part
Hành động bắn trước một phần mẫu được gọi là
Thông số:
string Template namestring Template path dirstring Template patharray Template variables
Return :
void
Trong các tệp:
app/functions.php dòng 879
wpfd_download_file_permission
Hành động này sẽ được kích hoạt khi người dùng hiện tại không có đủ quyền để tải xuống tệp này.
Thông số:
string|integer string|integer integer
Return :
void
Trong các tệp:
app/site/controllers/files.php dòng 49app/site/controllers/file.php dòng 72
wpfd_download_file_permission
Hành động này sẽ được kích hoạt khi người dùng hiện tại không có đủ quyền để tải xuống tệp này.
Thông số:
string|integer string|integer integer
Return :
void
Trong các tệp:
app/site/controllers/files.php dòng 49app/site/controllers/file.php dòng 72
wpfd_download_link_expired
Hướng dẫn xử lý trang tải xuống đã hết hạn
Thông số:
string|integer string|integer integer
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 112
wpfd_file_deleted
Hành động được thực thi sau khi tệp tin bị xóa
Thông số:
array Deleted file infoWP_Term Category the file was deleted fromarray Additional information
Return :
void
Trong các tệp:
app/admin/controllers/file.php dòng 963app/admin/controllers/file.php dòng 1064app/admin/controllers/file.php dòng 1521
wpfd_file_download
Thực hiện hành động ngay trước khi tải xuống tập tin. Không được lặp lại bất cứ điều gì ở đây, nếu không quá trình tải xuống tập tin sẽ bị lỗi
Thông số:
object File idarray Source
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 409app/site/controllers/file.php dòng 495app/site/controllers/file.php dòng 602app/site/controllers/file.php dòng 680app/site/controllers/file.php dòng 756app/site/controllers/file.php dòng 798app/site/controllers/file.php dòng 821app/site/controllers/file.php dòng 913
wpfd_file_download
Thực hiện hành động ngay trước khi tải xuống tập tin. Không được lặp lại bất cứ điều gì ở đây, nếu không quá trình tải xuống tập tin sẽ bị lỗi
Thông số:
object File idarray Source
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 409app/site/controllers/file.php dòng 495app/site/controllers/file.php dòng 602app/site/controllers/file.php dòng 680app/site/controllers/file.php dòng 756app/site/controllers/file.php dòng 798app/site/controllers/file.php dòng 821app/site/controllers/file.php dòng 913
wpfd_file_indexed
Hành động được thực thi sau khi tệp được lập chỉ mục
Thông số:
integer Inserted post idarray Post content to index
Return :
void
Trong các tệp:
app/admin/models/fts.php dòng 1190
wpfd_file_uploaded
Hành động được thực hiện sau khi tập tin được tải lên
Thông số:
integer|WP_Error The file ID on success. The value 0 or WP_Error on failure.array Additional information
Return :
void
Trong các tệp:
app/admin/models/files.php dòng 1507
wpfd_generate_preview_after_merge_image_vertical
Hành động kích hoạt sau khi hợp nhất hình ảnh theo chiều dọc
Thông số:
string $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model
Return :
void
Trong các tệp:
app/admin/models/generatepreview.php dòng 1097
wpfd_generate_preview_after_resize_thumbnail
Tệp hành động sau khi hình thu nhỏ được thay đổi kích thước
Thông số:
string $fileName Thumbnail file path
Return :
void
Trong các tệp:
app/admin/models/generatepreview.php dòng 976
wpfd_generate_preview_before_merge_image_vertical
Hành động bắn trước khi ghép ảnh theo chiều dọc
Thông số:
array $images Images page arraystring $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model
Return :
void
Trong các tệp:
app/admin/models/generatepreview.php dòng 1001
wpfd_preview_file_permission
Hành động này sẽ được kích hoạt khi người dùng hiện tại không có đủ quyền để xem trước tập tin này.
Thông số:
string|integer string|integer integer
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 100app/site/helpers/WpfdHelperShortcodes.php dòng 4374
wpfd_preview_file_permission
Hành động này sẽ được kích hoạt khi người dùng hiện tại không có đủ quyền để xem trước tập tin này.
Thông số:
string|integer string|integer integer
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 100app/site/helpers/WpfdHelperShortcodes.php dòng 4374
wpfd_preview_generated
Hành động bắn sau khi hình thu nhỏ/bản xem trước được lưu
Thông số:
string $savedFilePath Generated preview file pathstring $thumbnailPath Generated thumbnail file patharray $currentQueue Current queue informationWpfdModelGeneratepreview $this GeneratePreview Model
Return :
void
Trong các tệp:
app/admin/models/generatepreview.php dòng 438app/admin/models/generatepreview.php dòng 584app/admin/models/generatepreview.php dòng 788
wpfd_save_category
Hành động bắn sau khi lưu các tham số danh mục
Thông số:
integer Term idarray Category params
Return :
void
Trong các tệp:
app/admin/controllers/category.php dòng 398
wpfd_save_category_settings_button
Thao tác kích hoạt trước khi nhấn nút lưu danh mục ở bảng điều khiển bên phải
Thông số:
integer Current category id
Return :
void
Trong các tệp:
app/admin/views/category/tpl/default.php dòng 405
wpfd_save_file_params
Sau khi dữ liệu tệp được lưu vào cơ sở dữ liệu
Thông số:
array File data array
Return :
void
Trong các tệp:
app/admin/models/file.php dòng 192
wpfd_update_category_color
Cập nhật màu sắc danh mục
Thông số:
integer Term id to change colorstring New category color
Return :
void
Trong các tệp:
app/admin/controllers/category.php dòng 332app/admin/controllers/category.php dòng 803app/admin/controllers/category.php dòng 944
wpfd_update_category_color
Cập nhật màu sắc danh mục
Thông số:
integer Term id to change colorstring New category color
Return :
void
Trong các tệp:
app/admin/controllers/category.php dòng 332app/admin/controllers/category.php dòng 803app/admin/controllers/category.php dòng 944
wpfd_update_category_color
Cập nhật màu sắc danh mục
Thông số:
integer Term id to change colorstring New category color
Return :
void
Trong các tệp:
app/admin/controllers/category.php dòng 332app/admin/controllers/category.php dòng 803app/admin/controllers/category.php dòng 944
wpfd_update_category_description
Sau khi cập nhật màu sắc danh mục
Thông số:
integer Term id to change colorstring New category color
Return :
void
Trong các tệp:
app/admin/controllers/category.php dòng 290
wpfd_update_category_name
Cập nhật tên danh mục
Thông số:
integer Term id to change namestring New category name
Return :
void
Trong các tệp:
app/admin/controllers/category.php dòng 133
wpfd_{$themeName}_after_custom_hooks
Hành động khai hỏa sau khi móc tùy chỉnh
Thông số:
none
Return :
void
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 845
wpfd_{$themeName}_after_template_hooks
Hành động kích hoạt sau khi mẫu được gắn vào
Thông số:
none
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/themedòng 119app/site/themes/wpfd-preview/themedòng 117app/site/themes/templates/wpfd-themedòng 835app/site/themes/wpfd-tree/themedòng 90
wpfd_{$themeName}_after_theme_content
In ấn hành động sau nội dung theme
Thông số:
object Current theme instancearray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 316app/site/themes/wpfd-preview/tpl.php dòng 319app/site/themes/wpfd-default/tpl.php dòng 340app/site/themes/wpfd-table/tpl.php dòng 298app/site/themes/templates/tpl-default.php dòng 219
wpfd_{$themeName}_before_files_loop
Hành động được thực thi trước khi vòng lặp tập tin diễn ra
Thông số:
object Current theme paramsarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 229app/site/themes/wpfd-preview/tpl.php dòng 230app/site/themes/wpfd-default/tpl.php dòng 195app/site/themes/wpfd-table/tpl.php dòng 146app/site/themes/templates/tpl-default.php dòng 139app/site/themes/wpfd-tree/tpl.php dòng 221
wpfd_{$themeName}_before_files_loop_handlebars
Hành động kích hoạt trước khi vòng lặp tập tin trong mẫu tay lái
Thông số:
array Current theme paramsarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 121app/site/themes/wpfd-preview/tpl.php dòng 121app/site/themes/wpfd-default/tpl.php dòng 47app/site/themes/wpfd-table/tpl.php dòng 36app/site/themes/templates/tpl-default.php dòng 43
wpfd_{$themeName}_before_template_hooks
Hành động khai hỏa trước khi gắn các mẫu
Thông số:
none
Return :
void
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 700
wpfd_{$themeName}_before_theme_content
Hành động in trước nội dung theme
Thông số:
object Current theme params
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 101app/site/themes/wpfd-preview/tpl.php dòng 101app/site/themes/wpfd-default/tpl.php dòng 27app/site/themes/wpfd-table/tpl.php dòng 106app/site/themes/templates/tpl-default.php dòng 25app/site/themes/wpfd-tree/tpl.php dòng 204app/site/themes/wpfd-tree/tpl.php dòng 351
wpfd_{$themeName}_buttons
Thao tác để hiển thị các nút
Thông số:
object Current file objectarray Global configarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-default/tpl.php dòng 284app/site/themes/wpfd-table/tpl.php dòng 237app/site/themes/templates/tpl-default.php dòng 198
wpfd_{$themeName}_buttons_handlebars
Các nút in hành động trong mẫu tay lái
Thông số:
array $config Main configarray $params Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 83app/site/themes/wpfd-preview/tpl.php dòng 83app/site/themes/wpfd-default/tpl.php dòng 123app/site/themes/wpfd-table/tpl.php dòng 84app/site/themes/templates/tpl-default.php dòng 101app/site/themes/wpfd-tree/tpl.php dòng 84
wpfd_{$themeName}_columns
Thao tác hiển thị cột
Thông số:
array Main configarray Category config
Return :
void
Trong các tệp:
app/site/theme/wpfd-table/tpl.php dòng 173
wpfd_{$themeName}_file_block
Thao tác hiển thị khối tệp
Thông số:
object Current file objectarray Global configarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 256app/site/themes/wpfd-preview/tpl.php dòng 259
wpfd_{$themeName}_file_block_handlebars
Thao tác hiển thị khối tệp trong mẫu Handlebars
Thông số:
array Main configarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 154app/site/themes/wpfd-preview/tpl.php dòng 156
wpfd_{$themeName}_file_content
Thao tác hiển thị nội dung tệp
Thông số:
object Current file objectarray Global configarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-default/tpl.php dòng 243app/site/themes/templates/tpl-default.php dòng 161
wpfd_{$themeName}_file_content_handlebars
Nội dung tệp in hành động trong mẫu tay lái
Thông số:
array $config Main configarray $params Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 44app/site/themes/wpfd-preview/tpl.php dòng 44app/site/themes/wpfd-default/tpl.php dòng 83app/site/themes/templates/tpl-default.php dòng 65app/site/themes/wpfd-tree/tpl.php dòng 45
wpfd_{$themeName}_file_info
Thao tác để hiển thị thông tin tệp
Thông số:
object Current file objectarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-default/tpl.php dòng 264app/site/themes/wpfd-table/tpl.php dòng 218app/site/themes/templates/tpl-default.php dòng 180
wpfd_{$themeName}_file_info_handlebars
Thao tác hiển thị thông tin tệp trong mẫu Handlebars
Thông số:
array Global configarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 65app/site/themes/wpfd-preview/tpl.php dòng 65app/site/themes/wpfd-default/tpl.php dòng 104app/site/themes/wpfd-table/tpl.php dòng 64app/site/themes/templates/tpl-default.php dòng 84app/site/themes/wpfd-tree/tpl.php dòng 66
wpfd_{$themeName}_folder_tree
Cây thư mục in hành động
Thông số:
object Current theme paramsarray Category config
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/tpl.php dòng 209app/site/themes/wpfd-preview/tpl.php dòng 210app/site/themes/wpfd-default/tpl.php dòng 175app/site/themes/wpfd-table/tpl.php dòng 126app/site/themes/templates/tpl-default.php dòng 122
_wpfd_preview_generate_queue_running_updating
Bộ lọc để cập nhật hàng đợi xem trước đang chạy
Thông số:
none
Return :
boolean
Trong các tệp:
app/admin/views/config/view.php dòng 225
import_term_meta_key
Lọc khóa meta cho một phần meta của thuật ngữ đã nhập.
Thông số:
string $meta_key Meta key.int $term_id ID of the newly created term.array $term Term data from the WXR import.
Return :
void
Trong các tệp:
app/admin/classes/import/class-wp-import.php dòng 383
xuất nội dung
Lọc nội dung bài đăng được sử dụng để xuất sang định dạng WXR.
Thông số:
string $post_content Content of the current post.
Return :
void
Trong các tệp:
app/admin/controllers/config.php dòng 1011
the_excerpt_export
Lọc đoạn trích bài viết được sử dụng để xuất dữ liệu sang WXR.
Thông số:
string $post_excerpt Excerpt for the current post.
Return :
void
Trong các tệp:
app/admin/controllers/config.php dòng 1021
wp_import_term_meta
Lọc siêu dữ liệu được đính kèm với một thuật ngữ đã nhập.
Thông số:
array $termmeta Array of term meta.int $term_id ID of the newly created term.array $term Term data from the WXR import.
Return :
void
Trong các tệp:
app/admin/classes/import/class-wp-import.php dòng 368
wpfd_
Các lớp bổ sung cho bảng
Thông số:
array
Return :
void
Trong các tệp:
app/site/themes/wpfd-table/themedòng 219
wpfd_abs_path_to_url
Lọc để thay đổi URL cuối cùng
Thông số:
string
Return :
void
Trong các tệp:
app/functions.php dòng 1181
wpfd_addon_locker_mail_subscribe
Lọc theo đăng ký tủ thư
Thông số:
none
Return :
array
Trong các tệp:
app/site/controllers/files.php dòng 640
wpfd_ajax_allowed_tasks
Lọc các tác vụ được hiển thị thông qua bộ điều phối AJAX WPFD đã được xác thực.
Thông số:
array $allowedTasks Allowed controller tasks.
Return :
void
Trong các tệp:
app/admin/init.php dòng 389
wpfd_always_generate_breadcrumbs
Bộ lọc để luôn tạo đường dẫn điều hướng (breadcrumbs) theo mặc định
Thông số:
boolean
Return :
void
Trong các tệp:
app/site/models/categoryfront.php dòng 58
wpfd_auto_create_private_folders
Bộ lọc để tự động tạo thư mục riêng tư
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/admin/init.php dòng 1633app/admin/init.php dòng 1799
wpfd_auto_create_private_folders
Bộ lọc để tự động tạo thư mục riêng tư
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/admin/init.php dòng 1633app/admin/init.php dòng 1799
wpfd_automatic_revision
Bộ lọc cho phép thay đổi bản sửa đổi tự động
Thông số:
string array
Return :
void
Trong các tệp:
app/admin/controllers/files.php dòng 4646
wpfd_automatic_revision_date_format
Bộ lọc cho phép thay đổi định dạng ngày tháng trong quá trình tạo phiên bản tự động
Thông số:
string array
Return :
void
Trong các tệp:
app/admin/controllers/files.php dòng 4608
wpfd_automatic_revision_enabled
Bộ lọc cho phép bật phiên bản tự động
Thông số:
boolean array
Return :
void
Trong các tệp:
app/admin/controllers/files.php dòng 4562
wpfd_automatic_revision_increment_replacement
Bộ lọc cho phép thay đổi phiên bản tự động
Thông số:
string array
Return :
void
Trong các tệp:
app/admin/controllers/files.php dòng 4629
wpfd_automatic_revision_pattern
Bộ lọc cho phép thay đổi mẫu phiên bản tự động
Thông số:
string array
Return :
void
Trong các tệp:
app/admin/controllers/files.php dòng 4575
wpfd_back_button_handlebars
Bộ lọc toàn cục để thay đổi HTML và các tham số của nút quay lại trên thanh điều khiển
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2786
wpfd_before_save_category
Lọc theo các tham số danh mục trước khi lưu vào cơ sở dữ liệu
Thông số:
array Category paramsinteger Term id
Return :
array
Trong các tệp:
app/admin/controllers/category.php dòng 388
wpfd_before_save_file_metadata
Bộ lọc cho phép chỉnh sửa siêu dữ liệu tệp trước khi lưu vào cơ sở dữ liệu
Thông số:
array File meta data array
Return :
array
Trong các tệp:
app/admin/models/file.php dòng 182
wpfd_before_save_file_params
Bộ lọc cho phép chỉnh sửa dữ liệu tệp trước khi lưu vào cơ sở dữ liệu
Thông số:
array File data array
Return :
array
Trong các tệp:
app/admin/models/file.php dòng 107
wpfd_before_update_category_color
Bộ lọc cập nhật màu sắc danh mục
Thông số:
string New category colorinteger Term id to change name
Return :
string|boolean
Trong các tệp:
app/admin/controllers/category.php dòng 323
wpfd_before_update_category_description
Mô tả danh mục cập nhật bộ lọc
Thông số:
string New category descriptioninteger Term id to change name
Return :
string|boolean
Trong các tệp:
app/admin/controllers/category.php dòng 277
wpfd_before_update_category_name
Tên danh mục cập nhật bộ lọc
Thông số:
string New category nameinteger Term id to change name
Return :
string|boolean
Trong các tệp:
app/admin/controllers/category.php dòng 125
wpfd_before_upload_file
Lọc tệp trước khi tải lên
Thông số:
array File datainteger Current user id
Return :
array
Trong các tệp:
app/admin/models/files.php dòng 1416
wpfd_can_access_plugin_cache_ttl
Bộ lọc được sử dụng để thay đổi thời gian tồn tại của bộ nhớ cache cho lần kiểm tra này.
Thông số:
integer
Return :
void
Trong các tệp:
app/admin/helpers/WpfdHelperFolder.php dòng 483
wpfd_can_access_plugin_timeout
Bộ lọc để thay đổi thời gian chờ của yêu cầu HTTP.
Thông số:
integer
Return :
void
Trong các tệp:
app/admin/helpers/WpfdHelperFolder.php dòng 490
wpfd_categories
Cho phép lọc danh sách các danh mục phía trước
Thông số:
array
Return :
void
Trong các tệp:
app/site/models/categoriesfront.php dòng 176
wpfd_categories_order
Bộ lọc cho phép thay đổi thứ tự sắp xếp của các danh mục
Thông số:
string
Return :
string
Trong các tệp:
app/site/controllers/categories.php dòng 81app/site/models/categoriesfront.php dòng 53app/site/models/categoriesfront.php dòng 338app/site/models/categoriesfront.php dòng 393
wpfd_categories_orderby
Bộ lọc cho phép thay đổi thứ tự cột của các danh mục
Thông số:
string
Return :
string
Trong các tệp:
app/site/controllers/categories.php dòng 90app/site/models/categoriesfront.php dòng 64app/site/models/categoriesfront.php dòng 349app/site/models/categoriesfront.php dòng 404
wpfd_category_description_handlebars
Bộ lọc toàn cục để thay đổi HTML và các tham số của mô tả danh mục trong Handlebars
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2955
wpfd_category_item_handlebars
Bộ lọc toàn cục để thay đổi HTML và các tham số của mục danh mục trong Handlebars
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 3063
wpfd_category_loading_message
Các bộ lọc cho phép bật thông báo khi tải danh mục
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2319app/site/themes/templates/wpfd-theme.class.php dòng 549
wpfd_category_loading_message
Các bộ lọc cho phép bật thông báo khi tải danh mục
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2319app/site/themes/templates/wpfd-theme.class.php dòng 549
wpfd_category_title
Bộ lọc toàn cục để thay đổi HTML và các tham số của tiêu đề danh mục
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2908
wpfd_category_title_handlebars
Bộ lọc toàn cục để thay đổi HTML và các tham số của tiêu đề danh mục trong Handlebars
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2841
wpfd_category_tree
Bộ lọc toàn cục để thay đổi HTML và các tham số của cây danh mục
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 3226
wpfd_category_tree_click_scroll_up
Bộ lọc cho phép khi nhấp vào cây danh mục, phần tử sẽ tự động cuộn lên đầu
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2346app/site/themes/templates/wpfd-theme.class.php dòng 576
wpfd_category_tree_click_scroll_up
Bộ lọc cho phép khi nhấp vào cây danh mục, phần tử sẽ tự động cuộn lên đầu
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2346app/site/themes/templates/wpfd-theme.class.php dòng 576
wpfd_category_tree_expanded
Bộ lọc cho phép mở rộng cây danh mục trên frontend
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2328app/site/themes/templates/wpfd-theme.class.php dòng 558
wpfd_category_tree_expanded
Bộ lọc cho phép mở rộng cây danh mục trên frontend
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2328app/site/themes/templates/wpfd-theme.class.php dòng 558
wpfd_category_tree_parent_expanded
Bộ lọc cho phép mở rộng cây danh mục cha trên frontend
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2337app/site/themes/templates/wpfd-theme.class.php dòng 567
wpfd_category_tree_parent_expanded
Bộ lọc cho phép mở rộng cây danh mục cha trên frontend
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2337app/site/themes/templates/wpfd-theme.class.php dòng 567
wpfd_check_special_char_editing
Bộ lọc để kiểm tra các ký tự đặc biệt khi chỉnh sửa
Thông số:
boolean
Return :
void
Trong các tệp:
app/admin/init.php dòng 689
wpfd_clean_interval
Bộ lọc để thay đổi thời gian dọn dẹp rác, thao tác này sẽ ghi đè hằng số WPFD_CLEAN_INTERVAL
Thông số:
$interval Time in second
Return :
void
Trong các tệp:
app/functions.php dòng 1911
wpfd_custom_zip_folder_on_server
Bộ lọc để tùy chỉnh tải xuống thư mục zip
Thông số:
boolean
Return :
void
Trong các tệp:
app/site/controllers/files.php dòng 67
wpfd_default_category_params
Bộ lọc cho phép thiết lập các tham số mặc định cho danh mục mới
Thông số:
array Default values: order, orderby, roles, private
Return :
array
Trong các tệp:
app/site/models/categoryfront.php dòng 96app/site/models/categoriesfront.php dòng 565app/admin/models/category.php dòng 477
wpfd_default_category_visibility
Bộ lọc cho phép thiết lập chế độ hiển thị mặc định
Thông số:
array Default values: roles, private
Return :
array
Trong các tệp:
app/functions.php dòng 2784
wpfd_file_download_button_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của nút tải xuống
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2417
wpfd_file_download_button_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của nút tải xuống trên Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2343
wpfd_file_info
Lọc thông tin tệp ở phía trước
Thông số:
object File object
Return :
object
Trong các tệp:
app/site/models/filefront.php dòng 583app/site/models/filefront.php dòng 659app/site/models/filesfront.php dòng 660
wpfd_file_info_created_args
Bộ lọc toàn cục để thay đổi HTML và các đối số của đối tượng được tạo
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1688
wpfd_file_info_created_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của Handlebars đã tạo
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1637
wpfd_file_info_custom_fields_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của các trường tùy chỉnh
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/theme/templates/wpfd-themedòng 1855
wpfd_file_info_custom_fields_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của trường tùy chỉnh trong Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1903
wpfd_file_info_description_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của phần mô tả
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1232
wpfd_file_info_description_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của phần mô tả Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1183
wpfd_file_info_hits_args
Bộ lọc toàn cầu để thay đổi HTML và các đối số của kết quả tìm kiếm
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1588
wpfd_file_info_hits_handlebars_args
Bộ lọc toàn cầu để thay đổi HTML và các tham số của các lượt truy cập Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1537
wpfd_file_info_icon_html
Bộ lọc toàn cầu để thay đổi HTML biểu tượng
Thông số:
string Output html for handlebars templateobject Current file objectarray Main configarray Current category config
Return :
string
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2014
wpfd_file_info_modified_args
Bộ lọc toàn cục để thay đổi HTML và các đối số của đối tượng đã được sửa đổi
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1790
wpfd_file_info_modified_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của Handlebars đã được sửa đổi
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1737
wpfd_file_info_size_args
Bộ lọc toàn cục để thay đổi HTML và các tham số kích thước
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1488
wpfd_file_info_size_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số kích thước của Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1437
wpfd_file_info_title_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của tiêu đề
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2242
wpfd_file_info_title_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của tiêu đề Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2116
wpfd_file_info_version_args
Bộ lọc Globa để thay đổi HTML và các tham số của phiên bản
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1387
wpfd_file_info_version_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của phiên bản Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1334
wpfd_file_large_size_custom_icon
Bộ lọc để chọn biểu tượng tùy chỉnh cho tệp có kích thước lớn
Thông số:
boolean
Return :
void
Trong các tệp:
app/admin/init.php dòng 596
wpfd_file_marker_days
Bộ lọc để thay đổi độ trễ thời gian đánh dấu tệp
Thông số:
array The list of days
Return :
array
Trong các tệp:
app/admin/forms/fields_v2/Filemarker.php dòng 104
wpfd_file_marker_life_time
Lọc theo thời gian hết hạn
Thông số:
integer Expired time
Return :
void
Trong các tệp:
app/functions.php dòng 4709app/functions.php dòng 4770app/functions.php dòng 4812
wpfd_file_marker_life_time
Lọc theo thời gian hết hạn
Thông số:
integer Expired time
Return :
void
Trong các tệp:
app/functions.php dòng 4709app/functions.php dòng 4770app/functions.php dòng 4812
wpfd_file_marker_life_time
Lọc theo thời gian hết hạn
Thông số:
integer Expired time
Return :
void
Trong các tệp:
app/functions.php dòng 4709app/functions.php dòng 4770app/functions.php dòng 4812
wpfd_file_open_pdf_button_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của nút mở PDF
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2637
wpfd_file_open_pdf_button_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của nút mở PDF trên thanh điều khiển
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/theme/templates/wpfd-themedòng 2500
wpfd_file_params
Lọc để cập nhật dữ liệu trước khi tải vào các trường
Thông số:
array Data load to fields
Return :
array
Trong các tệp:
app/admin/views/file/view.php dòng 152
wpfd_file_preview_button_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của nút xem trước
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2688
wpfd_file_preview_button_handlebars_args
Bộ lọc toàn cục để thay đổi HTML và các tham số của nút xem trước trên Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2546
wpfd_file_replace_download_with_preview
Bộ lọc cho phép thay đổi liên kết tải xuống tệp khi tắt cửa sổ bật lên tải xuống
Thông số:
boolean
Return :
void
Trong các tệp:
app/site/themes/wpfd-ggd/themedòng 185app/site/themes/wpfd-ggd/themedòng 270app/site/themes/wpfd-preview/themedòng 223app/site/themes/wpfd-preview/themedòng 310app/site/themes/wpfd-tree/tpl.php dòng 20
wpfd_file_title
Bộ lọc để thay đổi tiêu đề tệp
Thông số:
string File titleinteger File id
Return :
string
Trong các tệp:
app/site/models/filefront.php dòng 125app/site/models/filefront.php dòng 624app/site/models/filefront.php dòng 465app/site/models/filesfront.php dòng 241app/site/models/filesfront.php dòng 404
wpfd_file_title_open_file_in_new_tab
Bộ lọc cho phép mở tệp trong tab mới khi nhấp vào tiêu đề tệp
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2355app/site/themes/templates/wpfd-theme.class.php dòng 585
wpfd_file_title_open_file_in_new_tab
Bộ lọc cho phép mở tệp trong tab mới khi nhấp vào tiêu đề tệp
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/functions.php dòng 2355app/site/themes/templates/wpfd-theme.class.php dòng 585
wpfd_force_generate_FTP_file_preview
Bộ lọc để buộc tạo bản xem trước và hình thu nhỏ
Thông số:
none
Return :
boolean
Trong các tệp:
app/admin/controllers/config.php dòng 2051
wpfd_generate_preview_page_number
Số trang tối đa khi tạo ảnh xem trước
Thông số:
integer
Return :
void
Trong các tệp:
app/admin/models/generatepreview.php dòng 415app/admin/models/generatepreview.php dòng 753
wpfd_generate_preview_queue_interval
Bộ lọc để thay đổi khoảng thời gian tạo bản xem trước, thao tác này sẽ ghi đè hằng số WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL
Thông số:
$interval Time in second
Return :
void
Trong các tệp:
app/functions.php dòng 2737
wpfd_generate_preview_url
Lọc để tạo URL xem trước
Thông số:
boolean Generate preview urlstring File idstring Category idstring Token
Return :
boolean
Trong các tệp:
app/site/helpers/WpfdHelperFile.php dòng 217
wpfd_generate_single_template
WP File Download mẫu đơn
Thông số:
none
Return :
void
Trong các tệp:
app/site/themes/wpfd-single.php dòng 10
wpfd_generated_preview_file_real_path
Bộ lọc cho phép bạn thực hiện bất kỳ thao tác nào với tệp xem trước được tạo ra
Thông số:
string
Return :
void
Trong các tệp:
app/admin/models/generatepreview.php dòng 885
wpfd_get_content_dir
Bộ lọc để thay đổi thư mục nội dung tùy chỉnh. Mặc định: 'wp-file-download'
Thông số:
string The current custom content dir string.
Return :
boolean
Trong các tệp:
app/functions.php dòng 86
wpfd_get_support_cloud
Bộ lọc trả về các nền tảng đám mây được hỗ trợ. Yêu cầu phát hiện nguồn gốc của các danh mục/tệp
Thông số:
array Cloud platform list
Return :
array
Trong các tệp:
app/functions.php dòng 1018
wpfd_get_template
Cho phép bộ lọc plugin của bên thứ ba
Thông số:
string Template pathstring Template namearray Template variablesstring Template path dirstring Default path dir
Return :
string
Trong các tệp:
app/functions.php dòng 869
wpfd_html_request_method
Lọc để thay đổi phương thức yêu cầu
Thông số:
boolean
Return :
void
Trong các tệp:
app/admin/helpers/WpfdHelperFolder.php dòng 469
wpfd_index_file
Lọc để thêm nội dung tệp vào chỉ mục
Thông số:
array ChunksWP_Post Post object
Return :
void
Trong các tệp:
app/admin/models/fts.php dòng 1174
wpfd_locate_template
Lọc theo đường dẫn mẫu được tìm thấy khi trả về
Thông số:
string Template pathstring Template namestring Template path dir
Return :
void
Trong các tệp:
app/functions.php dòng 831
wpfd_locate_theme
Lọc theo đường dẫn mẫu được tìm thấy khi trả về
Thông số:
string Template pathstring Template namestring Template path dir
Return :
void
Trong các tệp:
app/functions.php dòng 956
wpfd_not_authorized_redirect_url
Bộ lọc để chuyển hướng người dùng khi họ không được phép xem trước tập tin hiện tại
Thông số:
string
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 84app/site/controllers/file.php dòng 290
wpfd_not_authorized_redirect_url
Bộ lọc để chuyển hướng người dùng khi họ không được phép tải xuống tệp hiện tại
Thông số:
string
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 84app/site/controllers/file.php dòng 290
wpfd_password_expires
Lọc thời hạn hiệu lực của cookie mật khẩu bài đăng. Theo mặc định, cookie này hết hạn sau 10 ngày kể từ khi được tạo. Để chuyển nó thành cookie phiên, hãy trả về 0.
Thông số:
int $expires The expiry time, as passed to setcookie().
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 1411
wpfd_password_form
Bộ lọc đầu ra HTML cho biểu mẫu mật khẩu bài đăng được bảo vệ. Nếu sửa đổi trường mật khẩu, vui lòng lưu ý rằng lược đồ cơ sở dữ liệu cốt lõi giới hạn trường mật khẩu ở 20 ký tự bất kể giá trị của thuộc tính kích thước trong trường nhập liệu của biểu mẫu.
Thông số:
string $output The password form HTML output.WP_Post $object Object.
Return :
void
Trong các tệp:
app/functions.php dòng 3611
wpfd_preview_files_dir
Bộ lọc để thay đổi thư mục tài liệu xem trước
Thông số:
string
Return :
void
Trong các tệp:
app/admin/classes/WpfdBase.php dòng 148
wpfd_preview_service_url
Bộ lọc để thay đổi URL dịch vụ xem trước
Thông số:
string Preview url with %s placeholder for url
Return :
string
Trong các tệp:
app/site/helpers/WpfdHelperFile.php dòng 235
wpfd_preview_url
Bộ lọc để thay đổi URL xem trước
Thông số:
string Output urlstring Preview url with %s placeholder for file encoded urlstring Ajax Url to preview file
Return :
string
Trong các tệp:
app/site/helpers/WpfdHelperFile.php dòng 246
wpfd_real_abs_path
Bộ lọc để sửa lỗi đường dẫn ABSPATH sai trên một số máy chủ/hosting
Thông số:
string
Return :
void
Trong các tệp:
app/functions.php dòng 1159
wpfd_remove_download_zip_file_from_server
Bộ lọc để xóa tệp zip khỏi máy chủ
Thông số:
boolean
Return :
void
Trong các tệp:
app/site/controllers/files.php dòng 114
wpfd_remove_expired_preview_file_time
Bộ lọc để thiết lập thời gian mặc định xóa các tệp xem trước đã hết hạn
Thông số:
integer|mixed
Return :
void
Trong các tệp:
app/admin/init.php dòng 1444
wpfd_request_ssl_verify
Lọc để bật xác minh SSL
Thông số:
boolean
Return :
void
Trong các tệp:
app/admin/helpers/WpfdHelperFolder.php dòng 476
wpfd_search_login_required
Lọc để kiểm tra thông tin đăng nhập cho tập tin tìm kiếm
Thông số:
none
Return :
boolean
Trong các tệp:
app/site/helpers/WpfdHelperShortcodes.php dòng 2372
wpfd_search_results
Bộ lọc cho kết quả tìm kiếm
Thông số:
array Files resultsarray Search filters
Return :
array
Trong các tệp:
app/site/models/search.php dòng 631
wpfd_search_results_file_title_length
Cho phép thay đổi độ dài tệp trong kết quả tìm kiếm
Thông số:
integer
Return :
void
Trong các tệp:
app/site/models/search.php dòng 974
wpfd_search_results_order
hướng sắp xếp kết quả tìm kiếm
Thông số:
string
Return :
void
Trong các tệp:
app/site/models/search.php dòng 275
wpfd_search_results_orderby
Kết quả tìm kiếm sắp xếp theo
Thông số:
string
Return :
void
Trong các tệp:
app/site/models/search.php dòng 268
wpfd_search_results_orderby_relevance
Lọc để sắp xếp các tệp dựa trên mức độ liên quan của từ khóa.
Thông số:
boolean
Return :
boolean
Trong các tệp:
app/site/views/search/view.php dòng 285
wpfd_search_tags_relation
Bộ lọc cho phép thay đổi mối quan hệ giữa các thẻ
Thông số:
string
Return :
void
Trong các tệp:
app/site/models/search.php dòng 156app/admin/models/files.php dòng 449
wpfd_search_tags_relation
Bộ lọc cho phép thay đổi mối quan hệ giữa các thẻ
Thông số:
string
Return :
void
Trong các tệp:
app/site/models/search.php dòng 156app/admin/models/files.php dòng 449
wpfd_selected_file
Bộ lọc các tệp đã chọn để tải xuống
Thông số:
array
Return :
void
Trong các tệp:
app/site/controllers/files.php dòng 456app/site/controllers/files.php dòng 734
wpfd_selected_file
Bộ lọc các tệp đã chọn để tải xuống
Thông số:
array
Return :
void
Trong các tệp:
app/site/controllers/files.php dòng 456app/site/controllers/files.php dòng 734
wpfd_selected_files
Lọc các tệp đã chọn để tải xuống
Thông số:
array
Return :
void
Trong các tệp:
app/site/controllers/files.php dòng 107
wpfd_show_upload_form_reverse
Bộ lọc để thay đổi biểu mẫu tải lên
Thông số:
boolean
Return :
void
Trong các tệp:
app/site/views/files/view.php dòng 491app/site/themes/wpfd-ggd/tpl.php dòng 282app/site/themes/wpfd-preview/tpl.php dòng 285app/site/themes/wpfd-default/tpl.php dòng 306app/site/themes/wpfd-table/tpl.php dòng 259app/site/themes/wpfd-tree/tpl.php dòng 320
wpfd_statistics_filter_by
Bộ lọc thống kê theo
Thông số:
array
Return :
void
Trong các tệp:
app/admin/views/statistics/tpl/filters.php dòng 41
wpfd_statistics_filter_by_placeholders
Bộ lọc thống kê theo vị trí giữ chỗ
Thông số:
array
Return :
void
Trong các tệp:
app/admin/views/statistics/tpl/filters.php dòng 48
wpfd_statistics_get_selection_arguments
Thống kê nhận các đối số giá trị lựa chọn
Thông số:
array string string
Return :
void
Trong các tệp:
app/admin/models/statistics.php dòng 194
wpfd_statistics_get_selection_posts_clauses
Thống kê cho thấy các điều khoản tuyển chọn bài đăng
Thông số:
array string string
Return :
void
Trong các tệp:
app/admin/models/statistics.php dòng 378
wpfd_statistics_get_selection_value
Số liệu thống kê mang lại giá trị lựa chọn
Thông số:
array string
Return :
void
Trong các tệp:
app/admin/models/statistics.php dòng 121
wpfd_statistics_type
Thay đổi loại thống kê
Thông số:
string string string
Return :
void
Trong các tệp:
app/admin/models/statistics.php dòng 387
wpfd_token_live_time
Bộ lọc để thay đổi thời gian hiệu lực của token
Thông số:
int Token live time in seconds
Return :
int
Trong các tệp:
app/functions.php dòng 1889app/site/models/tokens.php dòng 123app/site/models/tokens.php dòng 170
wpfd_trash_days
Bộ lọc để thay đổi ngày của thư mục thùng rác
Thông số:
array The list of days
Return :
array
Trong các tệp:
app/admin/forms/fields_v2/Trash.php dòng 104
wpfd_upload_dir
Bộ lọc cho phép thay đổi thư mục tải lên tệp
Thông số:
string
Return :
void
Trong các tệp:
app/admin/classes/WpfdBase.php dòng 113
wpfd_user_can
Kiểm tra bộ lọc khả năng chỉnh sửa cài đặt quyền của người dùng hiện tại
Thông số:
boolean The current user has the given capabilitystring Action name
Return :
boolean
Trong các tệp:
app/functions.php dòng 1198app/functions.php dòng 1215app/functions.php dòng 1259app/functions.php dòng 1279app/functions.php dòng 1299app/functions.php dòng 1319app/functions.php dòng 1369app/functions.php dòng 1419app/admin/classes/install-wizard/install-wizard.php dòng 59jutranslation/jutranslation.php dòng 100
wpfd_user_can
Bộ lọc kiểm tra khả năng quản lý tệp của người dùng hiện tại
Thông số:
boolean The current user has the given capabilitystring Action name
Return :
boolean
Trong các tệp:
app/functions.php dòng 1198app/functions.php dòng 1215app/functions.php dòng 1259app/functions.php dòng 1279app/functions.php dòng 1299app/functions.php dòng 1319app/functions.php dòng 1369app/functions.php dòng 1419app/admin/classes/install-wizard/install-wizard.php dòng 59jutranslation/jutranslation.php dòng 100
wpfd_wc_validate_required_fields
Lọc để xác thực các trường bắt buộc
Thông số:
boolean
Return :
void
Trong các tệp:
app/admin/init.php dòng 696
wpfd_wpml_download_language
Bộ lọc để tùy chỉnh ngôn ngữ tải xuống
Thông số:
boolean
Return :
void
Trong các tệp:
app/site/models/filefront.php dòng 533app/site/models/filefront.php dòng 338
wpfd_wpml_download_language
Bộ lọc để tùy chỉnh ngôn ngữ tải xuống
Thông số:
boolean
Return :
void
Trong các tệp:
app/site/models/filefront.php dòng 533app/site/models/filefront.php dòng 338
wpfd_you_dont_have_permission_redirect_url
Bộ lọc để chuyển hướng người dùng khi họ không có quyền tải xuống tệp hiện tại
Thông số:
string
Return :
void
Trong các tệp:
app/site/controllers/file.php dòng 269
wpfd_{$themeName}_back_button_handlebars
Bộ lọc để thay đổi HTML và các tham số của nút quay lại trên thanh điều khiển
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2799
wpfd_{$themeName}_category_description
Bộ lọc để thay đổi HTML và các tham số của mô tả danh mục
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-theme.class.php dòng 3002app/site/themes/templates/wpfd-theme.class.php dòng 3015
wpfd_{$themeName}_category_description
Bộ lọc toàn cục để thay đổi HTML và các tham số của mô tả danh mục
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-theme.class.php dòng 3002app/site/themes/templates/wpfd-theme.class.php dòng 3015
wpfd_{$themeName}_category_description_handlebars
Bộ lọc để thay đổi HTML và các tham số của mô tả danh mục trong Handlebars
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2968
wpfd_{$themeName}_category_item
Bộ lọc toàn cục để thay đổi HTML và các tham số của mục danh mục
Thông số:
array Template arrayobject Current category objectobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-theme.class.php dòng 3168app/site/themes/templates/wpfd-theme.class.php dòng 3182
wpfd_{$themeName}_category_item
Bộ lọc để thay đổi HTML và các tham số của mục danh mục
Thông số:
array Template arrayobject Current category objectobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-theme.class.php dòng 3168app/site/themes/templates/wpfd-theme.class.php dòng 3182
wpfd_{$themeName}_category_item_handlebars
Bộ lọc để thay đổi HTML và các tham số của mục danh mục trong Handlebars
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 3076
wpfd_{$themeName}_category_title
Bộ lọc để thay đổi HTML và các tham số của tiêu đề danh mục
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2921
wpfd_{$themeName}_category_title_handlebars
Bộ lọc để thay đổi HTML và các tham số của tiêu đề danh mục trong Handlebars
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2854
wpfd_{$themeName}_category_tree
Bộ lọc để thay đổi HTML và các tham số của cây danh mục
Thông số:
array Template arrayobject Current theme objectarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 3239
wpfd_{$themeName}_column_created_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột ngày tạo
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 1100
wpfd_{$themeName}_column_custom_fields_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột trường tùy chỉnh
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 1173
wpfd_{$themeName}_column_description_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột mô tả
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 915app/site/themes/wpfd-table/themedòng 949app/site/themes/wpfd-table/themedòng 1303
wpfd_{$themeName}_column_description_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột mô tả
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 915app/site/themes/wpfd-table/themedòng 949app/site/themes/wpfd-table/themedòng 1303
wpfd_{$themeName}_column_description_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột mô tả
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 915app/site/themes/wpfd-table/themedòng 949app/site/themes/wpfd-table/themedòng 1303
wpfd_{$themeName}_column_download_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột tải xuống
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 1212
wpfd_{$themeName}_column_hits_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột kết quả tìm kiếm
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 1063
wpfd_{$themeName}_column_media_menu_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột menu phương tiện
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 1246
wpfd_{$themeName}_column_modified_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột ngày sửa đổi
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 1138
wpfd_{$themeName}_column_size_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột kích thước
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 1025
wpfd_{$themeName}_column_title_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột tiêu đề
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 877
wpfd_{$themeName}_column_version_header_html
Bộ lọc để thay đổi tiêu đề HTML của cột phiên bản
Thông số:
string Header html
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 987
wpfd_{$themeName}_content_wrapper
Bộ lọc để thay đổi đầu ra trình bao bọc nội dung
Thông số:
string Content wrapperobject Current theme object
Return :
string
Trong các tệp:
app/site/theme/templates/wpfd-themedòng 901
wpfd_{$themeName}_content_wrapper_input
Bộ lọc để in nội dung nhập ẩn bên dưới trình bao bọc nội dung
Thông số:
string Input htmlobject Current theme object
Return :
string
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 928
wpfd_{$themeName}_file_download_button_args
Bộ lọc để thay đổi HTML và các tham số của nút tải xuống
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2431
wpfd_{$themeName}_file_download_button_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của nút tải xuống trong Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2356
wpfd_{$themeName}_file_info_created_args
Bộ lọc để thay đổi HTML và các đối số của đối tượng được tạo
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1701
wpfd_{$themeName}_file_info_created_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của Handlebars đã tạo
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1650
wpfd_{$themeName}_file_info_custom_fields_args
Bộ lọc để thay đổi HTML và các tham số của các trường tùy chỉnh
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1869
wpfd_{$themeName}_file_info_custom_fields_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của trường tùy chỉnh trong Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1916
wpfd_{$themeName}_file_info_description_args
Bộ lọc để thay đổi HTML và các tham số của mô tả
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1245
wpfd_{$themeName}_file_info_description_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của mô tả Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1195
wpfd_{$themeName}_file_info_hits_args
Bộ lọc để thay đổi HTML và các đối số của kết quả tìm kiếm
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1601
wpfd_{$themeName}_file_info_hits_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của lượt truy cập Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1550
wpfd_{$themeName}_file_info_icon_hanlebars
Bộ lọc để thay đổi HTML biểu tượng cho mẫu Handlebars
Thông số:
string Output html for handlebars templatearray Main configarray Current category config
Return :
string
Trong các tệp:
app/site/themes/wpfd-preview/themedòng 175app/site/themes/wpfd-table/themedòng 319app/site/themes/templates/wpfd-themedòng 1957app/site/themes/templates/wpfdthemedòng 1970
wpfd_{$themeName}_file_info_icon_hanlebars
Bộ lọc để thay đổi HTML biểu tượng cho mẫu Handlebars
Thông số:
string Output html for handlebars templatearray Main configarray Current category config
Return :
string
Trong các tệp:
app/site/themes/wpfd-preview/themedòng 175app/site/themes/wpfd-table/themedòng 319app/site/themes/templates/wpfd-themedòng 1957app/site/themes/templates/wpfdthemedòng 1970
wpfd_{$themeName}_file_info_icon_html
Bộ lọc để thay đổi HTML biểu tượng
Thông số:
string Output html for handlebars templateobject Current file objectarray Main configarray Current category config
Return :
string
Trong các tệp:
app/site/themes/wpfd-table/themedòng 438app/site/themes/templates/wpfdthemedòng 2028
wpfd_{$themeName}_file_info_modified_args
Bộ lọc để thay đổi HTML và các đối số của đối tượng đã được sửa đổi
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1804
wpfd_{$themeName}_file_info_modified_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của Handlebars đã được sửa đổi
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/theme/templates/wpfd-themedòng 1750
wpfd_{$themeName}_file_info_size_args
Bộ lọc để thay đổi HTML và các tham số kích thước
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1501
wpfd_{$themeName}_file_info_size_handlebars_args
Bộ lọc để thay đổi HTML và các tham số kích thước của Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1449
wpfd_{$themeName}_file_info_title_args
Bộ lọc để thay đổi HTML và các đối số của tiêu đề
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/wpfd-table/themedòng 504app/site/themes/templates/wpfdthemedòng 2256
wpfd_{$themeName}_file_info_title_handlebars_args
Bộ lọc để thay đổi HTML và các đối số của tiêu đề Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/wpfd-table/themedòng 380app/site/themes/templates/wpfdthemedòng 2129
wpfd_{$themeName}_file_info_version_args
Bộ lọc để thay đổi HTML và các đối số của phiên bản
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1400
wpfd_{$themeName}_file_info_version_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của phiên bản Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 1346
wpfd_{$themeName}_file_open_pdf_button_args
Bộ lọc để thay đổi HTML và các tham số của nút mở PDF
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2651
wpfd_{$themeName}_file_open_pdf_button_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của nút mở PDF trên thanh điều khiển
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2513
wpfd_{$themeName}_file_preview_button_args
Bộ lọc để thay đổi HTML và các tham số của nút xem trước
Thông số:
array Template arrayobject Current file objectarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2702
wpfd_{$themeName}_file_preview_button_handlebars_args
Bộ lọc để thay đổi HTML và các tham số của nút xem trước trong Handlebars
Thông số:
array Template arrayarray Main configarray Current category config
Return :
array
Trong các tệp:
app/site/themes/templates/wpfd-themedòng 2559
Composer
Thiết lập khóa cập nhật theo chương trình bằng WP CLI
Sử dụng cùng một khóa bạn đã dùng để cài đặt Composer và thực hiện lệnh Composer này để thiết lập mã thông báo cập nhật. wp option update ju_user_token "YOUR_TOKEN"
Đây là giải pháp để sử dụng các plugin của chúng tôi như một dependency của Composer. Bạn cần khai báo kho lưu trữ joomunited trong file composer.json của mình, vui lòng đảm bảo thay thế YOUR_TOKEN trong URL bằng token của riêng bạn. Bạn có thể tìm thấy token này tại