跳至主要内容

WP File Download 开发者文档

本文档将帮助经验丰富的开发者将其他服务与我们的插件集成。以下是此插件的所有操作和过滤器,如果您需要更多信息,请随时在 专属论坛上提问。感谢您使用我们的插件!

导入术语元数据

在术语元数据导入后触发。.

参数 :

int $term_id ID of the newly created term.string $key Meta key.mixed $value Meta value.

Return :

void

文件内容:

app/admin/classes/import/class-wp-import.php 第 408 行

wpdf_admin_notices

操作以编写进口通知

参数 :

none

Return :

void

文件内容:

app/admin/views/wpfd/tpl/ui-default.php 第 153 行app/admin/views/iconsbuilder/tpl/default.php 第 50 行app/admin/views/config/tpl/ui-default.php 第 50 行

wpfd_addon_update_version_description

复制后的操作更新版本和描述

参数 :

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

文件内容:

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

wpfd_addon_update_version_description

复制后更新操作版本和描述

参数 :

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

文件内容:

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

wpfd_admin_after_file_title_field

标题字段后的操作

参数 :

string Current file information

Return :

void

文件内容:

app/admin/forms/file.xml 第 60 行

wpfd_after_bottom_file_save_settings

底部文件保存设置按钮后执行的操作

参数 :

string Current file information

Return :

void

文件内容:

app/admin/forms/file.xml 第 255 行

wpfd_after_category_main_settings

在右侧面板中,按照类别主设置执行操作。

参数 :

integer Current category id

Return :

void

文件内容:

app/admin/views/category/tpl/default.php 第 182 行

wpfd_after_create_new_category

创建新类别后的操作

参数 :

integer New category idstring Category created name

Return :

void

文件内容:

app/admin/controllers/category.php 第 78 行

wpfd_after_fieldset_category_main_settings

在右侧面板中设置类别主设置字段集后执行操作

参数 :

integer Current category id

Return :

void

文件内容:

app/admin/views/category/tpl/default.php 第 191 行

wpfd_after_file_main_settings

在所有文件设置输入都已回显后触发的操作

参数 :

string Current file information

Return :

void

文件内容:

app/admin/forms/file.xml 第 225 行

wpfd_after_single_file_info

单文件显示后触发操作,前提是文件信息已显示

参数 :

object File object

Return :

void

文件内容:

app/site/themes/templates/tpl-single.php 第 75 行

wpfd_after_template_part

执行模板部件后的射击操作

参数 :

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

文件内容:

app/functions.php 第 892 行

wpfd_before_category_main_settings

在右侧面板中,操作先于类别主设置。

参数 :

integer Current category id

Return :

void

文件内容:

app/admin/views/category/tpl/default.php 第 92 行

wpfd_before_fieldset_category_main_settings

在右侧面板中设置类别主设置字段之前执行操作

参数 :

integer Current category id

Return :

void

文件内容:

app/admin/views/category/tpl/default.php 第 61 行

wpfd_before_index_remove

移除索引前执行操作

参数 :

integer Post id

Return :

void

文件内容:

app/admin/models/fts.php 第 1088 行

wpfd_before_single_file_info

在单个文件显示中,操作触发之前会先显示文件信息

参数 :

object File object

Return :

void

文件内容:

app/site/themes/templates/tpl-single.php 第 59 行

wpfd_before_template_part

在名为“Action fire”的模板部件之前进行射击

参数 :

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

文件内容:

app/functions.php 第 880 行

wpfd_download_file_permission

当当前用户没有足够的权限下载此文件时,此操作触发。.

参数 :

string|integer string|integer integer

Return :

void

文件内容:

app/site/controllers/file.php 第 63 行app/site/init.php 第 879 行

wpfd_download_file_permission

当当前用户没有足够的权限下载此文件时,此操作触发。.

参数 :

string|integer string|integer integer

Return :

void

文件内容:

app/site/controllers/file.php 第 63 行app/site/init.php 第 879 行

wpfd_download_link_expired

针对已过期下载页面的操作

参数 :

string|integer string|integer integer

Return :

void

文件内容:

app/site/controllers/file.php 第 86 行app/site/init.php 第 902 行

wpfd_download_link_expired

针对已过期下载页面的操作

参数 :

string|integer string|integer integer

Return :

void

文件内容:

app/site/controllers/file.php 第 86 行app/site/init.php 第 902 行

wpfd_file_deleted

文件删除后触发动作

参数 :

array Deleted file infoWP_Term Category the file was deleted fromarray Additional information

Return :

void

文件内容:

app/admin/controllers/file.php 第 781 行app/admin/controllers/file.php 第 859 行app/admin/controllers/file.php 第 917 行app/admin/controllers/file.php 第 1270 行

wpfd_file_download

文件下载前立即执行操作。请勿在此处回显任何内容,否则文件下载将损坏。

参数 :

object File idarray Source

Return :

void

文件内容:

app/site/controllers/file.php 第 366 行app/site/controllers/file.php 第 452 行app/site/controllers/file.php 第 559 行app/site/controllers/file.php 第 637 行app/site/controllers/file.php 第 713 行app/site/controllers/file.php 第 755 行app/site/controllers/file.php 第 778 行app/site/controllers/file.php 第 870 行app/site/init.php 第 1166 行app/site/init.php 第 1271行 app/site/init.php 第 1402 行app/site/init.php 第 1497 行app/site/init.php 第 1588 行app/site/init.php 第 1790 行

wpfd_file_download

文件下载前立即执行操作。请勿在此处回显任何内容,否则文件下载将损坏。

参数 :

object File idarray Source

Return :

void

文件内容:

app/site/controllers/file.php 第 366 行app/site/controllers/file.php 第 452 行app/site/controllers/file.php 第 559 行app/site/controllers/file.php 第 637 行app/site/controllers/file.php 第 713 行app/site/controllers/file.php 第 755 行app/site/controllers/file.php 第 778 行app/site/controllers/file.php 第 870 行app/site/init.php 第 1166 行app/site/init.php 第 1271行 app/site/init.php 第 1402 行app/site/init.php 第 1497 行app/site/init.php 第 1588 行app/site/init.php 第 1790 行

wpfd_file_download

文件下载前立即执行操作。请勿在此处回显任何内容,否则文件下载将损坏。

参数 :

object File idarray Source

Return :

void

文件内容:

app/site/controllers/file.php 第 366 行app/site/controllers/file.php 第 452 行app/site/controllers/file.php 第 559 行app/site/controllers/file.php 第 637 行app/site/controllers/file.php 第 713 行app/site/controllers/file.php 第 755 行app/site/controllers/file.php 第 778 行app/site/controllers/file.php 第 870 行app/site/init.php 第 1166 行app/site/init.php 第 1271行 app/site/init.php 第 1402 行app/site/init.php 第 1497 行app/site/init.php 第 1588 行app/site/init.php 第 1790 行

wpfd_file_download

文件下载前立即执行操作。请勿在此处回显任何内容,否则文件下载将损坏。

参数 :

object File idarray Source

Return :

void

文件内容:

app/site/controllers/file.php 第 366 行app/site/controllers/file.php 第 452 行app/site/controllers/file.php 第 559 行app/site/controllers/file.php 第 637 行app/site/controllers/file.php 第 713 行app/site/controllers/file.php 第 755 行app/site/controllers/file.php 第 778 行app/site/controllers/file.php 第 870 行app/site/init.php 第 1166 行app/site/init.php 第 1271行 app/site/init.php 第 1402 行app/site/init.php 第 1497 行app/site/init.php 第 1588 行app/site/init.php 第 1790 行

wpfd_file_indexed

文件索引后触发操作

参数 :

integer Inserted post idarray Post content to index

Return :

void

文件内容:

app/admin/models/fts.php 第 1190 行

wpfd_file_uploaded

文件上传后执行操作

参数 :

integer|WP_Error The file ID on success. The value 0 or WP_Error on failure.array Additional information

Return :

void

文件内容:

app/admin/models/files.php 第 1507 行

wpfd_generate_preview_after_merge_image_vertical

合并图像后的动作触发垂直

参数 :

string $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model

Return :

void

文件内容:

app/admin/models/generatepreview.php 第 1074 行

wpfd_generate_preview_after_resize_thumbnail

缩略图调整大小后的动作文件

参数 :

string $fileName Thumbnail file path

Return :

void

文件内容:

app/admin/models/generatepreview.php 第 953 行

wpfd_generate_preview_before_merge_image_vertical

合并图像垂直之前的动作射击

参数 :

array $images Images page arraystring $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model

Return :

void

文件内容:

app/admin/models/generatepreview.php 第 978 行

wpfd_preview_file_permission

当当前用户没有足够的权限预览此文件时,此操作触发。.

参数 :

string|integer string|integer integer

Return :

void

文件内容:

app/site/controllers/file.php 第 75 行app/site/init.php 第 891 行

wpfd_preview_file_permission

当当前用户没有足够的权限预览此文件时,此操作触发。.

参数 :

string|integer string|integer integer

Return :

void

文件内容:

app/site/controllers/file.php 第 75 行app/site/init.php 第 891 行

wpfd_preview_generated

缩略图/预览保存后触发动作

参数 :

string $savedFilePath Generated preview file pathstring $thumbnailPath Generated thumbnail file patharray $currentQueue Current queue informationWpfdModelGeneratepreview $this GeneratePreview Model

Return :

void

文件内容:

app/admin/models/generatepreview.php 第 432 行app/admin/models/generatepreview.php 第 578 行app/admin/models/generatepreview.php 第 760 行

wpfd_save_category

保存类别参数后触发操作

参数 :

integer Term idarray Category params

Return :

void

文件内容:

app/admin/controllers/category.php 第 341 行

wpfd_save_category_settings_button

在右侧面板中,点击“保存类别”按钮之前,先执行操作

参数 :

integer Current category id

Return :

void

文件内容:

app/admin/views/category/tpl/default.php 第 395 行

wpfd_save_file_params

文件数据保存到数据库后

参数 :

array File data array

Return :

void

文件内容:

app/admin/models/file.php 第 191 行

wpfd_update_category_color

更新类别颜色

参数 :

integer Term id to change colorstring New category color

Return :

void

文件内容:

app/admin/controllers/category.php 第 297 行app/admin/controllers/category.php 第 708 行app/admin/controllers/category.php 第 849 行

wpfd_update_category_color

更新类别颜色

参数 :

integer Term id to change colorstring New category color

Return :

void

文件内容:

app/admin/controllers/category.php 第 297 行app/admin/controllers/category.php 第 708 行app/admin/controllers/category.php 第 849 行

wpfd_update_category_color

更新类别颜色

参数 :

integer Term id to change colorstring New category color

Return :

void

文件内容:

app/admin/controllers/category.php 第 297 行app/admin/controllers/category.php 第 708 行app/admin/controllers/category.php 第 849 行

wpfd_update_category_description

更新类别颜色后

参数 :

integer Term id to change colorstring New category color

Return :

void

文件内容:

app/admin/controllers/category.php 第 263 行

wpfd_update_category_name

更新类别名称

参数 :

integer Term id to change namestring New category name

Return :

void

文件内容:

app/admin/controllers/category.php 第 114 行

wpfd_{$themeName}_after_custom_hooks

自定义钩子后的动作射击

参数 :

none

Return :

void

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 762 行

wpfd_{$themeName}_after_template_hooks

模板钩子后执行操作

参数 :

none

Return :

void

文件内容:

app/site/themes/wpfd-tree/theme.php 第 86 行app/site/themes/wpfd-preview/theme.php 第 115 行app/site/themes/templates/wpfd-theme.class.php 第 752 行app/site/themes/wpfd-ggd/theme.php 第 117 行

wpfd_{$themeName}_after_theme_content

主题内容后的操作打印

参数 :

object Current theme instancearray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 282 行app/site/themes/wpfd-table/tpl.php 第 286 行app/site/themes/wpfd-preview/tpl.php 第 275 行app/site/themes/templates/tpl-default.php 第 219 行app/site/themes/wpfd-ggd/tpl.php 第 272 行

wpfd_{$themeName}_before_files_loop

文件循环之前执行操作

参数 :

object Current theme paramsarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 159 行app/site/themes/wpfd-table/tpl.php 第 146 行app/site/themes/wpfd-tree/tpl.php 第 184 行app/site/themes/wpfd-preview/tpl.php 第 194 行app/site/themes/templates/tpl-default.php 第 139 行app/site/themes/wpfd-ggd/tpl.php 第 193 行

wpfd_{$themeName}_before_files_loop_handlebars

Handlebars 模板中文件循环之前触发操作

参数 :

array Current theme paramsarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 47 行app/site/themes/wpfd-table/tpl.php 第 36 行app/site/themes/wpfd-preview/tpl.php 第 121 行app/site/themes/templates/tpl-default.php 第 43 行app/site/themes/wpfd-ggd/tpl.php 第 121 行

wpfd_{$themeName}_before_template_hooks

行动触发前模板已连接

参数 :

none

Return :

void

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 619 行

wpfd_{$themeName}_before_theme_content

主题内容前的行动打印

参数 :

object Current theme params

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 27 行app/site/themes/wpfd-table/tpl.php 第 106 行app/site/themes/wpfd-tree/tpl.php 第 167 行app/site/themes/wpfd-tree/tpl.php 第 290 行app/site/themes/wpfd-preview/tpl.php 第 101 行app/site/themes/templates/tpl-default.php 第 25 行app/site/themes/wpfd-ggd/tpl.php 第 101 行

wpfd_{$themeName}_buttons

显示按钮的操作

参数 :

object Current file objectarray Global configarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 230 行app/site/themes/wpfd-table/tpl.php 第 226 行app/site/themes/templates/tpl-default.php 第 198 行

wpfd_{$themeName}_buttons_handlebars

车把模板中的操作打印按钮

参数 :

array $config Main configarray $params Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 112 行app/site/themes/wpfd-table/tpl.php 第 84 行app/site/themes/wpfd-tree/tpl.php 第 83 行app/site/themes/wpfd-preview/tpl.php 第 83 行app/site/themes/templates/tpl-default.php 第 101 行app/site/themes/wpfd-ggd/tpl.php 第 83 行

wpfd_{$themeName}_columns

显示列的操作

参数 :

array Main configarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-table/tpl.php 第 171 行

wpfd_{$themeName}_file_block

显示文件块的操作

参数 :

object Current file objectarray Global configarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-preview/tpl.php 第 219 行app/site/themes/wpfd-ggd/tpl.php 第 216 行

wpfd_{$themeName}_file_block_handlebars

在 Handlebars 模板中显示文件块的操作

参数 :

array Main configarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-preview/tpl.php 第 145 行app/site/themes/wpfd-ggd/tpl.php 第 143 行

wpfd_{$themeName}_file_content

显示文件内容的操作

参数 :

object Current file objectarray Global configarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 189 行app/site/themes/templates/tpl-default.php 第 161 行

wpfd_{$themeName}_file_content_handlebars

Handlebars 模板中的操作打印文件内容

参数 :

array $config Main configarray $params Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 72 行app/site/themes/wpfd-tree/tpl.php 第 43 行app/site/themes/wpfd-preview/tpl.php 第 44 行app/site/themes/templates/tpl-default.php 第 65 行app/site/themes/wpfd-ggd/tpl.php 第 44 行

wpfd_{$themeName}_file_info

显示文件信息的操作

参数 :

object Current file objectarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 210 行app/site/themes/wpfd-table/tpl.php 第 206 行app/site/themes/templates/tpl-default.php 第 180 行

wpfd_{$themeName}_file_info_handlebars

在 Handlebars 模板中显示文件信息的操作

参数 :

array Global configarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 93 行app/site/themes/wpfd-table/tpl.php 第 64 行app/site/themes/wpfd-tree/tpl.php 第 65 行app/site/themes/wpfd-preview/tpl.php 第 65 行app/site/themes/templates/tpl-default.php 第 84 行app/site/themes/wpfd-ggd/tpl.php 第 65 行

wpfd_{$themeName}_folder_tree

操作打印文件夹树

参数 :

object Current theme paramsarray Category config

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 139 行app/site/themes/wpfd-table/tpl.php 第 126 行app/site/themes/wpfd-preview/tpl.php 第 174 行app/site/themes/templates/tpl-default.php 第 122 行app/site/themes/wpfd-ggd/tpl.php 第 173 行

_wpfd_preview_generate_queue_running_updating

用于更新预览队列运行情况的过滤器

参数 :

none

Return :

boolean

文件内容:

app/admin/views/config/view.php 第 218 行

import_term_meta_key

筛选导入的术语元数据的元键。.

参数 :

string $meta_key Meta key.int $term_id ID of the newly created term.array $term Term data from the WXR import.

Return :

void

文件内容:

app/admin/classes/import/class-wp-import.php 第 390 行

内容导出

筛选用于 WXR 导出的帖子内容。.

参数 :

string $post_content Content of the current post.

Return :

void

文件内容:

app/admin/controllers/config.php 第 1023 行

the_excerpt_export

筛选用于 WXR 导出的文章摘要。.

参数 :

string $post_excerpt Excerpt for the current post.

Return :

void

文件内容:

app/admin/controllers/config.php 第 1033 行

wp_import_existing_post

筛选与当前导入文章对应的现有文章 ID。返回 0 可强制导入该文章。将 ID 设置为其他值可覆盖默认的现有文章与导入文章的映射关系。.

参数 :

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

Return :

void

文件内容:

app/admin/classes/import/class-wp-import.php 第 601 行

wp_import_term_meta

筛选导入术语所附加的元数据。.

参数 :

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

文件内容:

app/admin/classes/import/class-wp-import.php 第 375 行

wpfd_

表格的其他类别

参数 :

array

Return :

void

文件内容:

app/site/themes/wpfd-table/theme.php 第 197 行

wpfd_abs_path_to_url

筛选以更改最终 URL

参数 :

string

Return :

void

文件内容:

app/functions.php 第 1182 行

wpfd_automatic_revision

筛选器允许更改自动修订

参数 :

string array

Return :

void

文件内容:

app/admin/controllers/files.php 第 4519 行

wpfd_automatic_revision_date_format

过滤器允许在自动版本控制中更改日期格式

参数 :

string array

Return :

void

文件内容:

app/admin/controllers/files.php 第 4481 行

wpfd_automatic_revision_enabled

过滤器允许启用自动版本

参数 :

boolean array

Return :

void

文件内容:

app/admin/controllers/files.php 第 4435 行

wpfd_automatic_revision_increment_replacement

过滤器允许更改自动版本的替换方式

参数 :

string array

Return :

void

文件内容:

app/admin/controllers/files.php 第 4502 行

wpfd_automatic_revision_pattern

过滤器允许更改自动版本模式

参数 :

string array

Return :

void

文件内容:

app/admin/controllers/files.php 第 4448 行

wpfd_back_button_handlebars

全局过滤器,用于更改后退按钮手柄的 HTML 代码和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2583 行

wpfd_before_save_category

保存到数据库之前,请先筛选类别参数。

参数 :

array Category paramsinteger Term id

Return :

array

文件内容:

app/admin/controllers/category.php 第 331 行

wpfd_before_save_file_metadata

过滤器允许在保存到数据库之前修改文件元数据

参数 :

array File meta data array

Return :

array

文件内容:

app/admin/models/file.php 第 181 行

wpfd_before_save_file_params

过滤器允许在保存到数据库之前修改文件数据

参数 :

array File data array

Return :

array

文件内容:

app/admin/models/file.php 第 107 行

wpfd_before_update_category_color

筛选器更新类别颜色

参数 :

string New category colorinteger Term id to change name

Return :

string|boolean

文件内容:

app/admin/controllers/category.php 第 288 行

wpfd_before_update_category_description

筛选器更新类别描述

参数 :

string New category descriptioninteger Term id to change name

Return :

string|boolean

文件内容:

app/admin/controllers/category.php 第 250 行

wpfd_before_update_category_name

筛选器更新类别名称

参数 :

string New category nameinteger Term id to change name

Return :

string|boolean

文件内容:

app/admin/controllers/category.php 第 106 行

wpfd_上传前文件

上传文件前先进行过滤

参数 :

array File datainteger Current user id

Return :

array

文件内容:

app/admin/models/files.php 第 1416 行

wpfd_categories

允许筛选首页类别列表

参数 :

array

Return :

void

文件内容:

app/site/models/categoriesfront.php 第 175 行

wpfd_categories_order

筛选器允许更改类别的排序方向。

参数 :

string

Return :

string

文件内容:

app/site/models/categoriesfront.php 第 52 行app/site/models/categoriesfront.php 第 337 行app/site/models/categoriesfront.php 第 392 行app/site/controllers/categories.php 第 81 行

wpfd_categories_orderby

筛选器允许更改类别列的顺序。

参数 :

string

Return :

string

文件内容:

app/site/models/categoriesfront.php 第 63 行app/site/models/categoriesfront.php 第 348 行app/site/models/categoriesfront.php 第 403 行app/site/controllers/categories.php 第 90 行

wpfd_category_description_handlebars

全局过滤器,用于更改类别描述 Handlebars 的 html 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2753 行

wpfd_category_item_handlebars

全局过滤器,用于更改类别项句柄的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2861 行

wpfd_category_loading_message

筛选器允许启用类别加载消息

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 513 行app/functions.php 第 2250 行

wpfd_category_loading_message

筛选器允许启用类别加载消息

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 513 行app/functions.php 第 2250 行

wpfd_category_title

全局过滤器,用于更改类别标题的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2706 行

wpfd_category_title_handlebars

全局过滤器,用于更改类别标题 Handlebars 的 html 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2639 行

wpfd_category_tree

全局过滤器,用于更改类别树的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 3024 行

wpfd_category_tree_click_scroll_up

该筛选器允许在点击类别树时自动滚动到元素顶部。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 540 行app/functions.php 第 2277 行

wpfd_category_tree_click_scroll_up

该筛选器允许在点击类别树时自动滚动到元素顶部。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 540 行app/functions.php 第 2277 行

wpfd_category_tree_expanded

筛选器允许在前端展开类别树。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 522 行app/functions.php 第 2259 行

wpfd_category_tree_expanded

筛选器允许在前端展开类别树。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 522 行app/functions.php 第 2259 行

wpfd_category_tree_parent_expanded

筛选器允许在前端展开类别树父级。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 531 行app/functions.php 第 2268 行

wpfd_category_tree_parent_expanded

筛选器允许在前端展开类别树父级。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 531 行app/functions.php 第 2268 行

wpfd_check_special_char_editing

编辑时筛选特殊字符

参数 :

boolean

Return :

void

文件内容:

app/admin/init.php 第 498 行

wpfd_clean_interval

过滤器用于更改清理垃圾的时间,这将覆盖 WPFD_CLEAN_INTERVAL 常量。

参数 :

$interval Time in second

Return :

void

文件内容:

app/functions.php 第 1842 行

wpfd_custom_zip_folder_on_server

用于自定义下载加载 zip 文件夹的过滤器

参数 :

boolean

Return :

void

文件内容:

app/site/controllers/files.php 第 55 行

wpfd_default_category_params

过滤器允许为新类别设置默认参数

参数 :

array Default values: order, orderby, roles, private

Return :

array

文件内容:

app/site/models/categoryfront.php 第 89 行app/site/models/categoriesfront.php 第 564 行app/admin/models/category.php 第 477 行

wpfd_default_category_visibility

过滤器允许设置默认可见性

参数 :

array Default values: roles, private

Return :

array

文件内容:

app/functions.php 第 2678 行

wpfd_file_download_button_args

全局过滤器,用于更改下载按钮的 HTML 代码和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2214 行

wpfd_file_download_button_handlebars_args

全局过滤器,用于更改下载按钮 Handlebars 的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2141 行

wpfd_file_info

前面的过滤器文件信息

参数 :

object File object

Return :

object

文件内容:

app/site/models/filefront.php 第 582 行app/site/models/filefront.php 第 657 行app/site/models/filesfront.php 第 607 行

wpfd_file_info_created_args

全局过滤器用于更改已创建文件的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1567 行

wpfd_file_info_created_handlebars_args

全局过滤器,用于更改已创建的 Handlebars 的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1516 行

wpfd_file_info_custom_fields_args

全局过滤器,用于更改自定义字段的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1734 行

wpfd_file_info_custom_fields_handlebars_args

Handlebars 自定义字段的 HTML 和参数的全局过滤器

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1782 行

wpfd_file_info_description_args

全局过滤器,用于更改描述的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1111 行

wpfd_file_info_description_handlebars_args

全局过滤器,用于更改描述 Handlebars 的 html 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1062 行

wpfd_file_info_hits_args

全局过滤器,用于更改命中结果的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1467 行

wpfd_file_info_hits_handlebars_args

全局过滤器,用于更改命中 Handlebars 的 html 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1416 行

wpfd_file_info_icon_html

全局筛选器更改图标 HTML

参数 :

string Output html for handlebars templateobject Current file objectarray Main configarray Current category config

Return :

string

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1893 行

wpfd_file_info_modified_args

全局过滤器用于更改已修改页面的 HTML 和参数。

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1669 行

wpfd_file_info_modified_handlebars_args

全局过滤器,用于更改修改后的 Handlebars 的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1616 行

wpfd_file_info_size_args

全局过滤器用于更改 HTML 和参数大小

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1367 行

wpfd_file_info_size_handlebars_args

全局过滤器,用于更改 Handlebars 尺寸的 html 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1316 行

wpfd_file_info_title_args

全局过滤器,用于更改标题的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2047 行

wpfd_file_info_title_handlebars_args

全局过滤器,用于更改标题栏的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1970 行

wpfd_file_info_version_args

全局过滤器用于更改版本的 html 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1266 行

wpfd_file_info_version_handlebars_args

全局过滤器,用于更改 Handlebars 版本中的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1213 行

wpfd_file_large_size_custom_icon

筛选选择大尺寸文件自定义图标

参数 :

boolean

Return :

void

文件内容:

app/admin/init.php 第 405 行

wpfd_file_open_pdf_button_args

全局过滤器,用于更改打开 PDF 按钮的 HTML 代码和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2434 行

wpfd_file_open_pdf_button_handlebars_args

全局过滤器,用于更改打开 PDF 按钮手柄的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2297 行

wpfd_file_params

在加载到字段之前筛选更新数据

参数 :

array Data load to fields

Return :

array

文件内容:

app/admin/views/file/view.php 第 152 行

wpfd_file_preview_button_args

全局过滤器用于更改预览按钮的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2485 行

wpfd_file_preview_button_handlebars_args

全局过滤器,用于更改预览按钮手柄的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2343 行

wpfd_file_replace_download_with_preview

过滤器允许在禁用下载弹窗时更改文件下载链接

参数 :

boolean

Return :

void

文件内容:

app/site/themes/wpfd-tree/tpl.php 第 19 行app/site/themes/wpfd-preview/theme.php 第 214 行app/site/themes/wpfd-preview/theme.php 第 288 行app/site/themes/wpfd-ggd/theme.php 第 176 行app/site/themes/wpfd-ggd/theme.php 第 245 行

wpfd_file_title

筛选更改文件标题

参数 :

string File titleinteger File id

Return :

string

文件内容:

app/site/models/filefront.php 第 125 行app/site/models/filefront.php 第 622 行app/site/models/filefront.php 第 464 行app/site/models/filesfront.php 第 234 行app/site/models/filesfront.php 第 396 行

wpfd_file_title_open_file_in_new_tab

筛选器允许在点击文件标题时在新标签页中打开文件。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 549 行app/functions.php 第 2286 行

wpfd_file_title_open_file_in_new_tab

筛选器允许在点击文件标题时在新标签页中打开文件。

参数 :

boolean

Return :

boolean

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 549 行app/functions.php 第 2286 行

wpfd_generate_preview_page_number

生成预览图像时的最大页数

参数 :

integer

Return :

void

文件内容:

app/admin/models/generatepreview.php 第 409 行app/admin/models/generatepreview.php 第 739 行

wpfd_generate_preview_queue_interval

筛选器用于更改生成预览间隔,这将覆盖 WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL 常量。

参数 :

$interval Time in second

Return :

void

文件内容:

app/functions.php 第 2631 行

wpfd_generate_preview_url

筛选以生成预览 URL

参数 :

boolean Generate preview urlstring File idstring Category idstring Token

Return :

boolean

文件内容:

app/site/helpers/WpfdHelperFile.php 第 103 行

wpfd_generated_preview_file_real_path

过滤器允许对生成的预览文件执行任何操作

参数 :

string

Return :

void

文件内容:

app/admin/models/generatepreview.php 第 862 行

wpfd_get_content_dir

用于更改自定义内容目录的过滤器。默认值:'wp-file-download'

参数 :

string The current custom content dir string.

Return :

boolean

文件内容:

app/functions.php 第 86 行

wpfd_get_support_cloud

筛选返回支持的云平台。需要检测类别/文件来自何处。

参数 :

array Cloud platform list

Return :

array

文件内容:

app/functions.php 第 1019 行

wpfd_get_template

允许第三方插件过滤器

参数 :

string Template pathstring Template namearray Template variablesstring Template path dirstring Default path dir

Return :

string

文件内容:

app/functions.php 第 870 行

wpfd_index_file

筛选器,用于在索引上添加文件内容

参数 :

array ChunksWP_Post Post object

Return :

void

文件内容:

app/admin/models/fts.php 第 1174 行

wpfd_locate_template

筛选返回找到的模板路径

参数 :

string Template pathstring Template namestring Template path dir

Return :

void

文件内容:

app/functions.php 第 832 行

wpfd_locate_theme

筛选返回找到的模板路径

参数 :

string Template pathstring Template namestring Template path dir

Return :

void

文件内容:

app/functions.php 第 957 行

wpfd_not_authorized_redirect_url

当用户无权下载当前文件时,筛选并重定向用户

参数 :

string

Return :

void

文件内容:

app/site/controllers/file.php 第 273 行app/site/init.php 第 1084 行

wpfd_not_authorized_redirect_url

当用户无权下载当前文件时,筛选并重定向用户

参数 :

string

Return :

void

文件内容:

app/site/controllers/file.php 第 273 行app/site/init.php 第 1084 行

wpfd_password_expires

筛选密码验证 cookie 的有效期。默认情况下,cookie 自创建之日起 10 天后过期。要将其转换为会话 cookie,请返回 0。.

参数 :

int $expires The expiry time, as passed to setcookie().

Return :

void

文件内容:

app/site/controllers/file.php 第 1330 行

wpfd_password_form

过滤受保护的 POST 密码表单的 HTML 输出。如果修改密码字段,请注意,无论表单输入中的 size 属性值如何,核心数据库架构都将密码字段限制为 20 个字符。.

参数 :

string $output The password form HTML output.WP_Post $object Object.

Return :

void

文件内容:

app/functions.php 第 3469 行

wpfd_preview_files_dir

筛选以更改预览文档目录

参数 :

string

Return :

void

文件内容:

app/admin/classes/WpfdBase.php 第 90 行

wpfd_preview_service_url

筛选以更改预览服务 URL

参数 :

string Preview url with %s placeholder for url

Return :

string

文件内容:

app/site/helpers/WpfdHelperFile.php 第 121 行

wpfd_preview_url

筛选以更改预览网址

参数 :

string Output urlstring Preview url with %s placeholder for file encoded urlstring Ajax Url to preview file

Return :

string

文件内容:

app/site/helpers/WpfdHelperFile.php 第 132 行

wpfd_real_abs_path

过滤器用于修复某些主机/服务器上的错误 ABSPATH

参数 :

string

Return :

void

文件内容:

app/functions.php 第 1160 行

wpfd_remove_download_zip_file_from_server

用于从服务器删除 zip 文件的过滤器

参数 :

boolean

Return :

void

文件内容:

app/site/controllers/files.php 第 94 行

wpfd_remove_expired_preview_file_time

筛选器用于设置删除过期预览文件的默认时间

参数 :

integer|mixed

Return :

void

文件内容:

app/admin/init.php 第 1209 行

wpfd_search_login_required

筛选检查登录信息以查找文件

参数 :

none

Return :

boolean

文件内容:

app/site/helpers/WpfdHelperShortcodes.php 第 2328 行

wpfd_search_results

搜索结果筛选器

参数 :

array Files resultsarray Search filters

Return :

array

文件内容:

app/site/models/search.php 第 607 行

wpfd_search_results_file_title_length

允许更改搜索结果中的文件长度

参数 :

integer

Return :

void

文件内容:

app/site/models/search.php 第 871 行

wpfd_search_results_order

搜索结果排序方向

参数 :

string

Return :

void

文件内容:

app/site/models/search.php 第 251 行

wpfd_search_results_orderby

搜索结果排序方式

参数 :

string

Return :

void

文件内容:

app/site/models/search.php 第 244 行

wpfd_search_results_orderby_relevance

根据关键词相关性筛选文件并进行排序。.

参数 :

boolean

Return :

boolean

文件内容:

app/site/views/search/view.php 第 275 行

wpfd_search_tags_relation

过滤器允许更改标签之间的关系

参数 :

string

Return :

void

文件内容:

app/site/models/search.php 第 132 行app/admin/models/files.php 第 449 行

wpfd_search_tags_relation

过滤器允许更改标签之间的关系

参数 :

string

Return :

void

文件内容:

app/site/models/search.php 第 132 行app/admin/models/files.php 第 449 行

wpfd_selected_file

筛选出要下载的文件

参数 :

array

Return :

void

文件内容:

app/site/controllers/files.php 第 308 行app/site/controllers/files.php 第 483 行

wpfd_selected_file

筛选出要下载的文件

参数 :

array

Return :

void

文件内容:

app/site/controllers/files.php 第 308 行app/site/controllers/files.php 第 483 行

wpfd_selected_files

筛选已选定要下载的文件

参数 :

array

Return :

void

文件内容:

app/site/controllers/files.php 第 87 行

wpfd_show_upload_form_reverse

筛选以更改上传表单

参数 :

boolean

Return :

void

文件内容:

app/site/themes/wpfd-default/tpl.php 第 248 行app/site/themes/wpfd-table/tpl.php 第 247 行app/site/themes/wpfd-tree/tpl.php 第 259 行app/site/themes/wpfd-preview/tpl.php 第 241 行app/site/themes/wpfd-ggd/tpl.php 第 238 行app/site/views/files/view.php 第 467 行

wpfd_statistics_filter_by

统计筛选器

参数 :

array

Return :

void

文件内容:

app/admin/views/statistics/tpl/filters.php 第 41 行

wpfd_statistics_filter_by_placeholders

按占位符筛选统计信息

参数 :

array

Return :

void

文件内容:

app/admin/views/statistics/tpl/filters.php 第 48 行

wpfd_statistics_get_selection_arguments

统计信息获取选择值参数

参数 :

array string string

Return :

void

文件内容:

app/admin/models/statistics.php 第 194 行

wpfd_statistics_get_selection_posts_clauses

统计数据获取选择帖子条款

参数 :

array string string

Return :

void

文件内容:

app/admin/models/statistics.php 第 378 行

wpfd_statistics_get_selection_value

统计结果获取选择值

参数 :

array string

Return :

void

文件内容:

app/admin/models/statistics.php 第 121 行

wpfd_statistics_type

更改统计类型

参数 :

string string string

Return :

void

文件内容:

app/admin/models/statistics.php 第 387 行

wpfd_token_live_time

筛选更改令牌有效期

参数 :

int Token live time in seconds

Return :

int

文件内容:

app/site/models/tokens.php 第 123 行app/site/models/tokens.php 第 170 行app/functions.php 第 1820 行

wpfd_trash_days

筛选器以更改垃圾箱文件夹的日期

参数 :

array The list of days

Return :

array

文件内容:

app/admin/forms/fields_v2/Trash.php 第 104 行

wpfd_upload_dir

过滤器允许更改文件上传目录

参数 :

string

Return :

void

文件内容:

app/admin/classes/WpfdBase.php 第 55 行

wpfd_user_can

检查当前用户是否具备编辑权限设置的能力

参数 :

boolean The current user has the given capabilitystring Action name

Return :

boolean

文件内容:

app/admin/classes/install-wizard/install-wizard.php 第 59 行app/functions.php 第 1199行 app/functions.php 第 1216 行app/functions.php 第 1260 行app/functions.php 第 1280 行app/functions.php 第 1300 行1320 行app/functions.php 第 1370 行app/functions.php 第 1420 行jutranslation/jutranslation.php 第 100 行

wpfd_user_can

检查当前用户管理文件的能力

参数 :

boolean The current user has the given capabilitystring Action name

Return :

boolean

文件内容:

app/admin/classes/install-wizard/install-wizard.php 第 59 行app/functions.php 第 1199行 app/functions.php 第 1216 行app/functions.php 第 1260 行app/functions.php 第 1280 行app/functions.php 第 1300 行1320 行app/functions.php 第 1370 行app/functions.php 第 1420 行jutranslation/jutranslation.php 第 100 行

wpfd_wc_validate_required_fields

筛选以验证必填字段

参数 :

boolean

Return :

void

文件内容:

app/admin/init.php 第 505 行

wpfd_wpml_download_language

用于自定义下载语言的筛选器

参数 :

boolean

Return :

void

文件内容:

app/site/models/filefront.php 第 532 行app/site/models/filesfront.php 第 331 行

wpfd_wpml_download_language

用于自定义下载语言的筛选器

参数 :

boolean

Return :

void

文件内容:

app/site/models/filefront.php 第 532 行app/site/models/filesfront.php 第 331 行

wpfd_you_dont_have_permission_redirect_url

筛选器,当用户没有下载当前文件的权限时重定向用户

参数 :

string

Return :

void

文件内容:

app/site/controllers/file.php 第 252 行app/site/init.php 第 1063 行

wpfd_you_dont_have_permission_redirect_url

筛选器,当用户没有下载当前文件的权限时重定向用户

参数 :

string

Return :

void

文件内容:

app/site/controllers/file.php 第 252 行app/site/init.php 第 1063 行

wpfd_{$themeName}_back_button_handlebars

筛选器用于更改返回按钮手柄的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2596 行

wpfd_{$themeName}_category_description

筛选以更改类别描述的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2800 行app/site/themes/templates/wpfd-theme.class.php 第 2813 行

wpfd_{$themeName}_category_description

全局筛选器,用于更改类别描述的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2800 行app/site/themes/templates/wpfd-theme.class.php 第 2813 行

wpfd_{$themeName}_category_description_handlebars

筛选器以更改类别描述 Handlebars 的 html 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2766 行

wpfd_{$themeName}_category_item

筛选以更改类别项的 HTML 和参数

参数 :

array Template arrayobject Current category objectobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2966 行app/site/themes/templates/wpfd-theme.class.php 第 2980 行

wpfd_{$themeName}_category_item

全局筛选器,用于更改类别项的 HTML 和参数

参数 :

array Template arrayobject Current category objectobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2966 行app/site/themes/templates/wpfd-theme.class.php 第 2980 行

wpfd_{$themeName}_category_item_handlebars

筛选器用于更改类别项句柄的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2874 行

wpfd_{$themeName}_category_title

筛选器,用于更改类别标题的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2719 行

wpfd_{$themeName}_category_title_handlebars

筛选器用于更改类别标题 Handlebars 的 html 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2652 行

wpfd_{$themeName}_category_tree

筛选器用于更改类别树的 HTML 和参数

参数 :

array Template arrayobject Current theme objectarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 3037 行

wpfd_{$themeName}_column_created_header_html

筛选器用于更改创建日期列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 1016 行

wpfd_{$themeName}_column_custom_fields_header_html

筛选器用于更改自定义字段列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 1085 行

wpfd_{$themeName}_column_description_header_html

筛选器用于更改描述列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 847 行app/site/themes/wpfd-table/theme.php 第 881 行app/site/themes/wpfd-table/theme.php 第 1177 行

wpfd_{$themeName}_column_description_header_html

筛选器用于更改描述列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 847 行app/site/themes/wpfd-table/theme.php 第 881 行app/site/themes/wpfd-table/theme.php 第 1177 行

wpfd_{$themeName}_column_description_header_html

筛选器用于更改描述列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 847 行app/site/themes/wpfd-table/theme.php 第 881 行app/site/themes/wpfd-table/theme.php 第 1177 行

wpfd_{$themeName}_column_download_header_html

筛选器用于更改下载列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 1120 行

wpfd_{$themeName}_column_hits_header_html

筛选器用于更改点击量列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 983 行

wpfd_{$themeName}_column_modified_header_html

筛选器用于更改修改日期列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 1050 行

wpfd_{$themeName}_column_size_header_html

筛选器,用于更改大小列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 949 行

wpfd_{$themeName}_column_title_header_html

筛选器用于更改标题列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 813 行

wpfd_{$themeName}_column_version_header_html

筛选器用于更改版本列的 HTML 标题

参数 :

string Header html

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 915 行

wpfd_{$themeName}_content_wrapper

筛选以更改内容包装器输出

参数 :

string Content wrapperobject Current theme object

Return :

string

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 813 行

wpfd_{$themeName}_content_wrapper_input

过滤器用于打印内容包装器下方的隐藏输入

参数 :

string Input htmlobject Current theme object

Return :

string

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 840 行

wpfd_{$themeName}_file_download_button_args

筛选器用于更改下载按钮的 HTML 代码和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2228 行

wpfd_{$themeName}_file_download_button_handlebars_args

过滤器用于更改下载按钮 Handlebars 的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2154 行

wpfd_{$themeName}_file_info_created_args

筛选以更改已创建文件的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1580 行

wpfd_{$themeName}_file_info_created_handlebars_args

筛选器用于更改已创建的 Handlebars 的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1529 行

wpfd_{$themeName}_file_info_custom_fields_args

筛选器用于更改自定义字段的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1748 行

wpfd_{$themeName}_file_info_custom_fields_handlebars_args

过滤器用于更改 Handlebars 自定义字段的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1795 行

wpfd_{$themeName}_file_info_description_args

筛选以更改描述的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1124 行

wpfd_{$themeName}_file_info_description_handlebars_args

过滤器用于更改描述 Handlebars 的 html 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1074 行

wpfd_{$themeName}_file_info_hits_args

筛选以更改命中结果的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1480 行

wpfd_{$themeName}_file_info_hits_handlebars_args

过滤器用于更改命中 Handlebars 的 html 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1429 行

wpfd_{$themeName}_file_info_icon_hanlebars

用于更改 Handlebars 模板图标 HTML 的过滤器

参数 :

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 288 行app/site/themes/wpfd-preview/theme.php 第 173 行app/site/themes/templates/wpfd-theme.class.php 第 1836 行app/site/themes/templates/wpfd-theme.class.php 第 1849 行

wpfd_{$themeName}_file_info_icon_hanlebars

用于更改 Handlebars 模板图标 HTML 的过滤器

参数 :

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 288 行app/site/themes/wpfd-preview/theme.php 第 173 行app/site/themes/templates/wpfd-theme.class.php 第 1836 行app/site/themes/templates/wpfd-theme.class.php 第 1849 行

wpfd_{$themeName}_file_info_icon_html

筛选更改图标的 HTML

参数 :

string Output html for handlebars templateobject Current file objectarray Main configarray Current category config

Return :

string

文件内容:

app/site/themes/wpfd-table/theme.php 第 394 行app/site/themes/templates/wpfd-theme.class.php 第 1907 行

wpfd_{$themeName}_file_info_modified_args

筛选以更改修改后的 HTML 和参数。

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1683 行

wpfd_{$themeName}_file_info_modified_handlebars_args

过滤器用于更改修改后的 Handlebars 的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1629 行

wpfd_{$themeName}_file_info_size_args

筛选器用于更改 HTML 和大小参数。

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1380 行

wpfd_{$themeName}_file_info_size_handlebars_args

过滤器用于更改 html 和 Handlebars 尺寸的参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1328 行

wpfd_{$themeName}_file_info_title_args

筛选以更改标题的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/wpfd-table/theme.php 第 444 行app/site/themes/templates/wpfd-theme.class.php 第 2061 行

wpfd_{$themeName}_file_info_title_handlebars_args

过滤器用于更改标题栏的 html 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/wpfd-table/theme.php 第 336 行app/site/themes/templates/wpfd-theme.class.php 第 1983 行

wpfd_{$themeName}_file_info_version_args

筛选更改版本的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1279 行

wpfd_{$themeName}_file_info_version_handlebars_args

过滤器用于更改 Handlebars 版本的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 1225 行

wpfd_{$themeName}_file_open_pdf_button_args

筛选器用于更改打开 PDF 按钮的 HTML 代码和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2448 行

wpfd_{$themeName}_file_open_pdf_button_handlebars_args

筛选器用于更改打开 PDF 按钮手柄的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2310 行

wpfd_{$themeName}_file_preview_button_args

筛选器用于更改预览按钮的 HTML 和参数

参数 :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2499 行

wpfd_{$themeName}_file_preview_button_handlebars_args

筛选器用于更改预览按钮手柄的 HTML 和参数

参数 :

array Template arrayarray Main configarray Current category config

Return :

array

文件内容:

app/site/themes/templates/wpfd-theme.class.php 第 2356 行

Composer

作曲家标志 以下是如何将我们的插件作为 Composer 依赖项使用的方法。您需要在 composer.json 文件中声明 Joomunited 仓库,请务必将 URL 中的 YOUR_TOKEN 替换为您自己的令牌。您可以在https://www.joomunited.com/my-account/my-membership 的Composer中。

使用 WP CLI 以编程方式设置更新密钥

使用与 Composer 安装时相同的密钥,并执行此 Composer 命令来设置更新令牌。 wp option update ju_user_token "YOUR_TOKEN"