Bỏ qua đến nội dung chính

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 nhà phát triể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 408

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/wpfd/tpl/ui-default.php dòng 153 app/admin/views/iconsbuilder/tpl/default.php dòng 50 app/admin/views/config/tpl/ui-default.php dòng 50

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 890 app/admin/controllers/files.php dòng 983 app/admin/controllers/files.php dòng 2675 app/admin/controllers/files.php dòng 1016 app/admin/controllers/files.php dòng 1322 app/admin/controllers/files.php dòng 1824 app/admin/controllers/files.php dòng 3086 app/admin/controllers/files.php dòng 3577 app/admin/controllers/files.php dòng 1078 app/admin/controllers/files.php dòng 2108 app/admin/controllers/files.php dòng 2752 app/admin/controllers/files.php dòng 3888 app/admin/controllers/files.php dòng 1137 app/admin/controllers/files.php dòng 1261 app/admin/controllers/files.php dòng 1584 app/admin/controllers/files.php dòng 2812 app/admin/controllers/files.php dòng 2953 app/admin/controllers/files.php dòng 3290 app/admin/controllers/files.php dòng 1200 app/admin/controllers/files.php dòng 1704 app/admin/controllers/files.php dòng 2233 app/admin/controllers/files.php dòng 2880 app/admin/controllers/files.php dòng 4018 app/admin/controllers/files.php dòng 1381 app/admin/controllers/files.php dòng 1489 app/admin/controllers/files.php dòng 3015 app/admin/controllers/files.php dòng 3429 app/admin/controllers/files.php dòng 1455 app/admin/controllers/files.php dòng 3172 app/admin/controllers/files.php dòng 1522 app/admin/controllers/files.php dòng 1883 app/admin/controllers/files.php dòng 3503 app/admin/controllers/files.php dòng 3635 app/admin/controllers/files.php dòng 1647 app/admin/controllers/files.php dòng 1763 app/admin/controllers/files.php dòng 2361 app/admin/controllers/files.php dòng 1957 app/admin/controllers/files.php dòng 2034 app/admin/controllers/files.php dòng 2168 app/admin/controllers/files.php dòng 2295 app/admin/controllers/files.php dòng 2424 app/admin/controllers/files.php dòng 3949 app/admin/controllers/files.php dòng 4091 app/admin/controllers/files.php dòng 4233 app/admin/controllers/files.php dòng 2589 app/admin/controllers/files.php dòng 3219 app/admin/controllers/files.php dòng 3356 app/admin/controllers/files.php dòng 4159 app/admin/controllers/files.php dòng 3723 app/admin/controllers/files.php dòng 3755

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 890 app/admin/controllers/files.php dòng 983 app/admin/controllers/files.php dòng 2675 app/admin/controllers/files.php dòng 1016 app/admin/controllers/files.php dòng 1322 app/admin/controllers/files.php dòng 1824 app/admin/controllers/files.php dòng 3086 app/admin/controllers/files.php dòng 3577 app/admin/controllers/files.php dòng 1078 app/admin/controllers/files.php dòng 2108 app/admin/controllers/files.php dòng 2752 app/admin/controllers/files.php dòng 3888 app/admin/controllers/files.php dòng 1137 app/admin/controllers/files.php dòng 1261 app/admin/controllers/files.php dòng 1584 app/admin/controllers/files.php dòng 2812 app/admin/controllers/files.php dòng 2953 app/admin/controllers/files.php dòng 3290 app/admin/controllers/files.php dòng 1200 app/admin/controllers/files.php dòng 1704 app/admin/controllers/files.php dòng 2233 app/admin/controllers/files.php dòng 2880 app/admin/controllers/files.php dòng 4018 app/admin/controllers/files.php dòng 1381 app/admin/controllers/files.php dòng 1489 app/admin/controllers/files.php dòng 3015 app/admin/controllers/files.php dòng 3429 app/admin/controllers/files.php dòng 1455 app/admin/controllers/files.php dòng 3172 app/admin/controllers/files.php dòng 1522 app/admin/controllers/files.php dòng 1883 app/admin/controllers/files.php dòng 3503 app/admin/controllers/files.php dòng 3635 app/admin/controllers/files.php dòng 1647 app/admin/controllers/files.php dòng 1763 app/admin/controllers/files.php dòng 2361 app/admin/controllers/files.php dòng 1957 app/admin/controllers/files.php dòng 2034 app/admin/controllers/files.php dòng 2168 app/admin/controllers/files.php dòng 2295 app/admin/controllers/files.php dòng 2424 app/admin/controllers/files.php dòng 3949 app/admin/controllers/files.php dòng 4091 app/admin/controllers/files.php dòng 4233 app/admin/controllers/files.php dòng 2589 app/admin/controllers/files.php dòng 3219 app/admin/controllers/files.php dòng 3356 app/admin/controllers/files.php dòng 4159 app/admin/controllers/files.php dòng 3723 app/admin/controllers/files.php dòng 3755

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 255

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 182

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 78

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 191

wpfd_after_file_main_settings

Hành động được thực thi sau khi tất cả các thông tin cài đặt tệp đã được hiển thị

Thông số:

string Current file information

Return :

void

Trong các tệp:

app/admin/forms/file.xml dòng 225

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 892

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 92

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 61

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 880

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/file.php dòng 63 app/site/init.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/file.php dòng 63 app/site/init.php dòng 879

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 86 app/site/init.php dòng 902

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 86 app/site/init.php dòng 902

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 781 app/admin/controllers/file.php dòng 859 app/admin/controllers/file.php dòng 917 app/admin/controllers/file.php dòng 1270

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 366 app/site/controllers/file.php dòng 452 app/site/controllers/file.php dòng 559 app/site/controllers/file.php dòng 637 app/site/controllers/file.php dòng 713 app/site/controllers/file.php dòng 755 app/site/controllers/file.php dòng 778 app/site/controllers/file.php dòng 870 app/site/init.php dòng 1166 app/site/init.php dòng 1271 app/site/init.php dòng 1402 app/site/init.php dòng 1497 app/site/init.php dòng 1588 app/site/init.php dòng 1790

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 366 app/site/controllers/file.php dòng 452 app/site/controllers/file.php dòng 559 app/site/controllers/file.php dòng 637 app/site/controllers/file.php dòng 713 app/site/controllers/file.php dòng 755 app/site/controllers/file.php dòng 778 app/site/controllers/file.php dòng 870 app/site/init.php dòng 1166 app/site/init.php dòng 1271 app/site/init.php dòng 1402 app/site/init.php dòng 1497 app/site/init.php dòng 1588 app/site/init.php dòng 1790

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 366 app/site/controllers/file.php dòng 452 app/site/controllers/file.php dòng 559 app/site/controllers/file.php dòng 637 app/site/controllers/file.php dòng 713 app/site/controllers/file.php dòng 755 app/site/controllers/file.php dòng 778 app/site/controllers/file.php dòng 870 app/site/init.php dòng 1166 app/site/init.php dòng 1271 app/site/init.php dòng 1402 app/site/init.php dòng 1497 app/site/init.php dòng 1588 app/site/init.php dòng 1790

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 366 app/site/controllers/file.php dòng 452 app/site/controllers/file.php dòng 559 app/site/controllers/file.php dòng 637 app/site/controllers/file.php dòng 713 app/site/controllers/file.php dòng 755 app/site/controllers/file.php dòng 778 app/site/controllers/file.php dòng 870 app/site/init.php dòng 1166 app/site/init.php dòng 1271 app/site/init.php dòng 1402 app/site/init.php dòng 1497 app/site/init.php dòng 1588 app/site/init.php dòng 1790

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 1074

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 953

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 978

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 75 app/site/init.php dòng 891

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 75 app/site/init.php dòng 891

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 432 app/admin/models/generatepreview.php dòng 578 app/admin/models/generatepreview.php dòng 760

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 341

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 395

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 191

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 297 app/admin/controllers/category.php dòng 708 app/admin/controllers/category.php dòng 849

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 297 app/admin/controllers/category.php dòng 708 app/admin/controllers/category.php dòng 849

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 297 app/admin/controllers/category.php dòng 708 app/admin/controllers/category.php dòng 849

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 263

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 114

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 762

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/ theme s/wpfd-tree/ theme dòng 86 app/site/ theme s/wpfd-preview/ theme dòng 115 app/site/ theme s/templates/wpfd- theme dòng 752 app/site/ theme s/wpfd-ggd/ theme dòng 117

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/ theme s/wpfd-default/tpl.php dòng 282 app/site/ theme s/wpfd-table/tpl.php dòng 286 app/site/ theme s/wpfd-preview/tpl.php dòng 275 app/site/ theme s/templates/tpl-default.php dòng 219 app/site/ theme s/wpfd-ggd/tpl.php dòng 272

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/ theme s/wpfd-default/tpl.php dòng 159 app/site/ theme s/wpfd-table/tpl.php dòng 146 app/site/ theme s/wpfd-tree/tpl.php dòng 184 app/site/ theme s/wpfd-preview/tpl.php dòng 194 app/site/ theme s/templates/tpl-default.php dòng 139 app/site/ theme s/wpfd-ggd/tpl.php dòng 193

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/ theme s/wpfd-default/tpl.php dòng 47 app/site/ theme s/wpfd-table/tpl.php dòng 36 app/site/ theme s/wpfd-preview/tpl.php dòng 121 app/site/ theme s/templates/tpl-default.php dòng 43 app/site/ theme s/wpfd-ggd/tpl.php dòng 121

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 619

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/ theme s/wpfd-default/tpl.php dòng 27 app/site/ theme s/wpfd-table/tpl.php dòng 106 app/site/ theme s/wpfd-tree/tpl.php dòng 167 app/site/ theme s/wpfd-tree/tpl.php dòng 290 app/site/ theme s/wpfd-preview/tpl.php dòng 101 app/site/ theme s/templates/tpl-default.php dòng 25 app/site/ theme s/wpfd-ggd/tpl.php dòng 101

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/ theme s/wpfd-default/tpl.php dòng 230 app/site/ theme s/wpfd-table/tpl.php dòng 226 app/site/ theme s/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/ theme s/wpfd-default/tpl.php dòng 112 app/site/ theme s/wpfd-table/tpl.php dòng 84 app/site/ theme s/wpfd-tree/tpl.php dòng 83 app/site/ theme s/wpfd-preview/tpl.php dòng 83 app/site/ theme s/templates/tpl-default.php dòng 101 app/site/ theme s/wpfd-ggd/tpl.php dòng 83

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 171

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/ theme s/wpfd-preview/tpl.php dòng 219 app/site/ theme s/wpfd-ggd/tpl.php dòng 216

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/ theme s/wpfd-preview/tpl.php dòng 145 app/site/ theme s/wpfd-ggd/tpl.php dòng 143

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/ theme s/wpfd-default/tpl.php dòng 189 app/site/ theme s/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/ theme s/wpfd-default/tpl.php dòng 72 app/site/ theme s/wpfd-tree/tpl.php dòng 43 app/site/ theme s/wpfd-preview/tpl.php dòng 44 app/site/ theme s/templates/tpl-default.php dòng 65 app/site/ theme s/wpfd-ggd/tpl.php dòng 44

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/ theme s/wpfd-default/tpl.php dòng 210 app/site/ theme s/wpfd-table/tpl.php dòng 206 app/site/ theme s/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/ theme s/wpfd-default/tpl.php dòng 93 app/site/ theme s/wpfd-table/tpl.php dòng 64 app/site/ theme s/wpfd-tree/tpl.php dòng 65 app/site/ theme s/wpfd-preview/tpl.php dòng 65 app/site/ theme s/templates/tpl-default.php dòng 84 app/site/ theme s/wpfd-ggd/tpl.php dòng 65

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/ theme s/wpfd-default/tpl.php dòng 139 app/site/ theme s/wpfd-table/tpl.php dòng 126 app/site/ theme s/wpfd-preview/tpl.php dòng 174 app/site/ theme s/templates/tpl-default.php dòng 122 app/site/ theme s/wpfd-ggd/tpl.php dòng 173

_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 218

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 390

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 1023

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 1033

wp_import_existing_post

Lọc ID của bài đăng hiện có tương ứng với bài đăng đang được nhập. Trả về 0 để buộc bài đăng được nhập. Lọc ID thành một giá trị khác để ghi đè bài đăng hiện có nào được ánh xạ tới bài đăng được nhập.

Thông số:

int $post_exists Post ID, or 0 if post did not exist.array $post The post array to be inserted.

Return :

void

Trong các tệp:

app/admin/classes/import/class-wp-import.php dòng 601

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 375

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 197

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 1182

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 4519

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 4481

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 4435

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 4502

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 4448

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 2583

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 331

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 181

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 288

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 250

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 106

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_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 175

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/models/categoriesfront.php dòng 52 app/site/models/categoriesfront.php dòng 337 app/site/models/categoriesfront.php dòng 392 app/site/controllers/categories.php dòng 81

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/models/categoriesfront.php dòng 63 app/site/models/categoriesfront.php dòng 348 app/site/models/categoriesfront.php dòng 403 app/site/controllers/categories.php dòng 90

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 2753

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 2861

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/site/ theme /templates/wpfd- theme dòng 513 app/functions.php dòng 2250

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/site/ theme /templates/wpfd- theme dòng 513 app/functions.php dòng 2250

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 2706

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 2639

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 3024

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/site/ theme s/templates/wpfd- theme .class.php dòng 540 app/functions.php dòng 2277

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/site/ theme s/templates/wpfd- theme .class.php dòng 540 app/functions.php dòng 2277

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/site/ theme s/templates/wpfd- theme .class.php dòng 522 app/functions.php dòng 2259

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/site/ theme s/templates/wpfd- theme .class.php dòng 522 app/functions.php dòng 2259

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/site/ theme s/templates/wpfd- theme .class.php dòng 531 app/functions.php dòng 2268

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/site/ theme s/templates/wpfd- theme .class.php dòng 531 app/functions.php dòng 2268

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 498

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 1842

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 55

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 89 app/site/models/categoriesfront.php dòng 564 app/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 2678

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 2214

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 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 2141

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 582 app/site/models/filefront.php dòng 657 app/site/models/filesfront.php dòng 607

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 1567

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 1516

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/themes/templates/wpfd-themedòng 1734

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 1782

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 1111

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 1062

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 1467

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 1416

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 1893

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 1669

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 1616

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 1367

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 1316

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 2047

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 1970

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 1266

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 1213

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 405

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 2434

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/themes/templates/wpfd-themedòng 2297

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 2485

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 2343

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/ theme s/wpfd-tree/tpl.php dòng 19 app/site/ theme s/wpfd-preview/ theme dòng 214 app/site/ theme s/wpfd-preview/ theme dòng 288 app/site/ theme s/wpfd-ggd/ theme dòng 176 app/site/ theme s/wpfd-ggd/ theme dòng 245

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 125 app/site/models/filefront.php dòng 622 app/site/models/filefront.php dòng 464 app/site/models/filesfront.php dòng 234 app/site/models/filesfront.php dòng 396

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/site/ theme /templates/wpfd- theme dòng 549 app/functions.php dòng 2286

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/site/ theme /templates/wpfd- theme dòng 549 app/functions.php dòng 2286

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 409 app/admin/models/generatepreview.php dòng 739

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 2631

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 103

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 862

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 1019

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 870

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 832

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 957

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 273 app/site/init.php dòng 1084

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 273 app/site/init.php dòng 1084

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 hết hạn sau 10 ngày kể từ khi tạo. Để chuyển cookie này 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 1330

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 3469

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 90

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 121

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 132

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 1160

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 94

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 1209

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 2328

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 607

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 871

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 251

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 244

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 275

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 132 app/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 132 app/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 308 app/site/controllers/files.php dòng 483

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 308 app/site/controllers/files.php dòng 483

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 87

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/ theme s/wpfd-default/tpl.php dòng 248 app/site/ theme s/wpfd-table/tpl.php dòng 247 app/site/ theme s/wpfd-tree/tpl.php dòng 259 app/site/ theme s/wpfd-preview/tpl.php dòng 241 app/site/ theme s/wpfd-ggd/tpl.php dòng 238 app/site/views/files/view.php dòng 467

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/site/models/tokens.php dòng 123 app/site/models/tokens.php dòng 170 app/functions.php dòng 1820

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 55

wpfd_user_can

Bộ lọc kiểm tra 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/admin/classes/install-wizard/install-wizard.php dòng 59 app/functions.php dòng 1199 app/functions.php dòng 1216 app/functions.php dòng 1260 app/functions.php dòng 1280 app/functions.php dòng 1300 app/functions.php dòng 1320 app/functions.php dòng 1370 app/functions.php dòng 1420 jutranslation/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/admin/classes/install-wizard/install-wizard.php dòng 59 app/functions.php dòng 1199 app/functions.php dòng 1216 app/functions.php dòng 1260 app/functions.php dòng 1280 app/functions.php dòng 1300 app/functions.php dòng 1320 app/functions.php dòng 1370 app/functions.php dòng 1420 jutranslation/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 505

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 532 app/site/models/filefront.php dòng 331

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 532 app/site/models/filefront.php dòng 331

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 252 app/site/init.php dòng 1063

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 252 app/site/init.php dòng 1063

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 2596

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/ theme s/templates/wpfd- theme .class.php dòng 2800 app/site/ theme s/templates/wpfd- theme .class.php dòng 2813

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/ theme s/templates/wpfd- theme .class.php dòng 2800 app/site/ theme s/templates/wpfd- theme .class.php dòng 2813

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 2766

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/ theme s/templates/wpfd- theme .class.php dòng 2966 app/site/ theme s/templates/wpfd- theme .class.php dòng 2980

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/ theme s/templates/wpfd- theme .class.php dòng 2966 app/site/ theme s/templates/wpfd- theme .class.php dòng 2980

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 2874

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 2719

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 2652

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 3037

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 1016

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 1085

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/ theme s/wpfd-table/ theme dòng 847 app/site/ theme s/wpfd-table/ theme dòng 881 app/site/ theme s/wpfd-table/ theme dòng 1177

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/ theme s/wpfd-table/ theme dòng 847 app/site/ theme s/wpfd-table/ theme dòng 881 app/site/ theme s/wpfd-table/ theme dòng 1177

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/ theme s/wpfd-table/ theme dòng 847 app/site/ theme s/wpfd-table/ theme dòng 881 app/site/ theme s/wpfd-table/ theme dòng 1177

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 1120

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 983

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 1050

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 949

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 813

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 915

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/themes/templates/wpfd-themedòng 813

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 840

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 2228

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 2154

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 1580

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 1529

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 1748

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 1795

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 1124

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 1074

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 1480

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 1429

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/ theme s/wpfd-table/ theme dòng 288 app/site/ theme s/wpfd-preview/ theme dòng 173 app/site/ theme s/templates/wpfd- theme dòng 1836 app/site/ theme s/templates/wpfd theme dòng 1849

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/ theme s/wpfd-table/ theme dòng 288 app/site/ theme s/wpfd-preview/ theme dòng 173 app/site/ theme s/templates/wpfd- theme dòng 1836 app/site/ theme s/templates/wpfd theme dòng 1849

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/ theme s/wpfd-table/ theme dòng 394 app/site/ theme s/templates/wpfd theme dòng 1907

wpfd_{$themeName}_file_info_modified_args

Bộ lọc để thay đổi HTML và các đối số của bản 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 1683

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/themes/templates/wpfd-themedòng 1629

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 1380

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 1328

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/ theme s/wpfd-table/ theme dòng 444 app/site/ theme s/templates/wpfd theme dòng 2061

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/ theme s/wpfd-table/ theme dòng 336 app/site/ theme s/templates/wpfd theme dòng 1983

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 1279

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 1225

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 2448

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 2310

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 2499

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 2356

Composer

logo nhà soạn nhạc Đâ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 https://www.joomunited.com/my-account/my-membership trong Composer token accordion.

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"

An Error Occurred: Whoops, looks like something went wrong.

Sorry, there was a problem we could not recover from.

The server returned a "500 - Whoops, looks like something went wrong."

Help me resolve this