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 902 app/admin/controllers/files.php dòng 995 app/admin/controllers/files.php dòng 2687 app/admin/controllers/files.php dòng 1028 app/admin/controllers/files.php dòng 1334 app/admin/controllers/files.php dòng 1836 app/admin/controllers/files.php dòng 3098 app/admin/controllers/files.php dòng 3589 app/admin/controllers/files.php dòng 1090 app/admin/controllers/files.php dòng 2120 app/admin/controllers/files.php dòng 2764 app/admin/controllers/files.php dòng 3900 app/admin/controllers/files.php dòng 1149 app/admin/controllers/files.php dòng 1273 app/admin/controllers/files.php dòng 1596 app/admin/controllers/files.php dòng 2824 app/admin/controllers/files.php dòng 2965 app/admin/controllers/files.php dòng 3302 app/admin/controllers/files.php dòng 1212 app/admin/controllers/files.php dòng 1716 app/admin/controllers/files.php dòng 2245 app/admin/controllers/files.php dòng 2892 app/admin/controllers/files.php dòng 4030 app/admin/controllers/files.php dòng 1393 app/admin/controllers/files.php dòng 1501 app/admin/controllers/files.php dòng 3027 app/admin/controllers/files.php dòng 3441 app/admin/controllers/files.php dòng 1467 app/admin/controllers/files.php dòng 3184 app/admin/controllers/files.php dòng 1534 app/admin/controllers/files.php dòng 1895 app/admin/controllers/files.php dòng 3515 app/admin/controllers/files.php dòng 3647 app/admin/controllers/files.php dòng 1659 app/admin/controllers/files.php dòng 1775 app/admin/controllers/files.php dòng 2373 app/admin/controllers/files.php dòng 1969 app/admin/controllers/files.php dòng 2046 app/admin/controllers/files.php dòng 2180 app/admin/controllers/files.php dòng 2307 app/admin/controllers/files.php dòng 2436 app/admin/controllers/files.php dòng 3961 app/admin/controllers/files.php dòng 4103 app/admin/controllers/files.php dòng 4245 app/admin/controllers/files.php dòng 2601 app/admin/controllers/files.php dòng 3231 app/admin/controllers/files.php dòng 3368 app/admin/controllers/files.php dòng 4171 app/admin/controllers/files.php dòng 3735 app/admin/controllers/files.php dòng 3767

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 902 app/admin/controllers/files.php dòng 995 app/admin/controllers/files.php dòng 2687 app/admin/controllers/files.php dòng 1028 app/admin/controllers/files.php dòng 1334 app/admin/controllers/files.php dòng 1836 app/admin/controllers/files.php dòng 3098 app/admin/controllers/files.php dòng 3589 app/admin/controllers/files.php dòng 1090 app/admin/controllers/files.php dòng 2120 app/admin/controllers/files.php dòng 2764 app/admin/controllers/files.php dòng 3900 app/admin/controllers/files.php dòng 1149 app/admin/controllers/files.php dòng 1273 app/admin/controllers/files.php dòng 1596 app/admin/controllers/files.php dòng 2824 app/admin/controllers/files.php dòng 2965 app/admin/controllers/files.php dòng 3302 app/admin/controllers/files.php dòng 1212 app/admin/controllers/files.php dòng 1716 app/admin/controllers/files.php dòng 2245 app/admin/controllers/files.php dòng 2892 app/admin/controllers/files.php dòng 4030 app/admin/controllers/files.php dòng 1393 app/admin/controllers/files.php dòng 1501 app/admin/controllers/files.php dòng 3027 app/admin/controllers/files.php dòng 3441 app/admin/controllers/files.php dòng 1467 app/admin/controllers/files.php dòng 3184 app/admin/controllers/files.php dòng 1534 app/admin/controllers/files.php dòng 1895 app/admin/controllers/files.php dòng 3515 app/admin/controllers/files.php dòng 3647 app/admin/controllers/files.php dòng 1659 app/admin/controllers/files.php dòng 1775 app/admin/controllers/files.php dòng 2373 app/admin/controllers/files.php dòng 1969 app/admin/controllers/files.php dòng 2046 app/admin/controllers/files.php dòng 2180 app/admin/controllers/files.php dòng 2307 app/admin/controllers/files.php dòng 2436 app/admin/controllers/files.php dòng 3961 app/admin/controllers/files.php dòng 4103 app/admin/controllers/files.php dòng 4245 app/admin/controllers/files.php dòng 2601 app/admin/controllers/files.php dòng 3231 app/admin/controllers/files.php dòng 3368 app/admin/controllers/files.php dòng 4171 app/admin/controllers/files.php dòng 3735 app/admin/controllers/files.php dòng 3767

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

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

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

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

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 799 app/admin/controllers/file.php dòng 877 app/admin/controllers/file.php dòng 935 app/admin/controllers/file.php dòng 1288

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

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

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

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

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 1059

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 938

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 963

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

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

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 417 app/admin/models/generatepreview.php dòng 563 app/admin/models/generatepreview.php dòng 745

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

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

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

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

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 203 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-preview/tpl.php dòng 44 app/site/ theme s/wpfd-default/tpl.php dòng 72 app/site/ theme s/wpfd-ggd/tpl.php dòng 44 app/site/ theme s/templates/tpl-default.php dòng 65 app/site/ theme s/wpfd-tree/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-table/tpl.php dòng 214 app/site/ theme s/wpfd-default/tpl.php dòng 224 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-table/tpl.php dòng 64 app/site/ theme s/wpfd-preview/tpl.php dòng 65 app/site/ theme s/wpfd-default/tpl.php dòng 93 app/site/ theme s/wpfd-ggd/tpl.php dòng 65 app/site/ theme s/templates/tpl-default.php dòng 84 app/site/ theme s/wpfd-tree/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-table/tpl.php dòng 126 app/site/ theme s/wpfd-preview/tpl.php dòng 174 app/site/ theme s/wpfd-default/tpl.php dòng 139 app/site/ theme s/wpfd-ggd/tpl.php dòng 173 app/site/ theme s/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 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 211

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 4531

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 4493

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 4447

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 4514

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 4460

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 2596

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 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/models/categoriesfront.php dòng 53 app/site/models/categoriesfront.php dòng 338 app/site/models/categoriesfront.php dòng 393 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 64 app/site/models/categoriesfront.php dòng 349 app/site/models/categoriesfront.php dòng 404 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 2765

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/theme/templates/wpfd-themedòng 2873

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 2718

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 2651

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 3036

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 565 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 2227

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 2154

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 583 app/site/models/filefront.php dòng 658 app/site/models/filesfront.php dòng 623

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 1577

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 1526

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 1744

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 1792

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 1121

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 1072

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 1477

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 1426

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 1903

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 1679

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 1626

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 1377

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 1326

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 2060

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 1981

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 1276

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 1223

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_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 4567 app/functions.php dòng 4628 app/functions.php dòng 4670

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 4567 app/functions.php dòng 4628 app/functions.php dòng 4670

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 4567 app/functions.php dòng 4628 app/functions.php dòng 4670

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 2447

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 2310

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 2498

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 2356

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-preview/ theme dòng 214 app/site/ theme s/wpfd-preview/ theme dòng 298 app/site/ theme s/wpfd-ggd/ theme dòng 177 app/site/ theme s/wpfd-ggd/ theme dòng 257 app/site/ theme s/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 125 app/site/models/filefront.php dòng 623 app/site/models/filefront.php dòng 465 app/site/models/filesfront.php dòng 237 app/site/models/filesfront.php dòng 399

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

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 847

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

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

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

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/views/files/view.php dòng 474 app/site/ theme s/wpfd-table/tpl.php dòng 252 app/site/ theme s/wpfd-preview/tpl.php dòng 241 app/site/ theme s/wpfd-default/tpl.php dòng 262 app/site/ theme s/wpfd-ggd/tpl.php dòng 238 app/site/ theme s/wpfd-tree/tpl.php dòng 268

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

jutranslation/jutranslation.php dòng 100 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

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:

jutranslation/jutranslation.php dòng 100 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

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

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

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

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

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 2609

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

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

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 2778

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

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

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 2886

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 2731

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 2664

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 3049

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 1057

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 1130

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 872 app/site/ theme s/wpfd-table/ theme dòng 906 app/site/ theme s/wpfd-table/ theme dòng 1226

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 872 app/site/ theme s/wpfd-table/ theme dòng 906 app/site/ theme s/wpfd-table/ theme dòng 1226

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 872 app/site/ theme s/wpfd-table/ theme dòng 906 app/site/ theme s/wpfd-table/ theme dòng 1226

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 1169

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 1020

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 1095

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 982

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 834

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 944

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 815

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 842

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 2241

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 2167

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 1590

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 1539

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 1758

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 1805

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 1134

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 1084

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 1490

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 1439

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 302 app/site/ theme s/wpfd-preview/ theme dòng 173 app/site/ theme s/templates/wpfd- theme dòng 1846 app/site/ theme s/templates/wpfd theme dòng 1859

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 302 app/site/ theme s/wpfd-preview/ theme dòng 173 app/site/ theme s/templates/wpfd- theme dòng 1846 app/site/ theme s/templates/wpfd theme dòng 1859

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 409 app/site/ theme s/templates/wpfd theme dòng 1917

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 1693

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 1639

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 1390

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 1338

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 461 app/site/ theme s/templates/wpfd theme dòng 2074

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 351 app/site/ theme s/templates/wpfd theme dòng 1994

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 1289

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 1235

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 2461

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 2323

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 2512

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 2369

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"