WP File Download开发人员文档
本文档将帮助有经验的开发人员使用我们的插件来插入其他服务。 这是此插件的所有操作和过滤器,如果您需要更多操作,请随时使用此工具进行 专门的论坛提问。 感谢您使用我们的插件!
import_term_meta
导入术语元后触发。
参数:
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/iconsbuilder/tpl/default.php 第 40 行
app/admin/views/wpfd/tpl/ui-default.php 第 148 行
app/admin/views/config/tpl/ui-default.php 第 38 行
wpfd_addon_update_version_description
复制后的操作更新版本和说明
参数:
string Version
string Description
string Category from
string Category TermId
Return :
void
在文件中:
app/admin/controllers/files.php 第 792 行
app/admin/controllers/files.php 第 886 行
app/admin/controllers/files.php 第 2120 行
app/admin/controllers/files.php 第 919 行
app/admin/controllers/ files.php 第 1231
行 app/admin/controllers/files.php 第 1738 行
app/admin/controllers/files.php 第 2534 行
app/admin/controllers/files.php 第 3026 行
app/admin/controllers/files.php 第 984
行/admin/controllers/files.php 第 2198
行 app/admin/controllers/files.php 第 1043 行
app/admin/controllers/files.php 第 1170 行
app/admin/controllers/files.php 第 1497 行
app/admin/controllers/files .php第2259
行app/admin/controllers/files.php第2401行
app/admin/controllers/files.php第2738行
app/admin/controllers/files.php第1107行
app/admin/controllers/files.php第1618
行app/ admin/controllers/files.php 第 2328 行
app/admin/controllers/files.php 第 1290 行
app/admin/controllers/files.php 第 1400 行
app/admin/controllers/files.php 第 2462 行
app/admin/controllers/files。 php行2878
app/admin/controllers/files.php行1366
app/admin/controllers/files.php行2620
app/admin/controllers/files.php行1433
app/admin/controllers/files.php行1797
app/admin /controllers/files.php 第 2952
行 app/admin/controllers/files.php 第 3084 行
app/admin/controllers/files.php 第 1561 行
app/admin/controllers/files.php 第 1677 行
app/admin/controllers/files.php第 1872 行
app/admin/controllers/files.php 第 2033 行
app/admin/controllers/files.php 第 2667 行
app/admin/controllers/files.php 第 2805 行
app/admin/controllers/files.php 第 3172 行
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 第 245 行
wpfd_after_category_main_settings
在右侧面板中的类别主要设置后执行操作
参数:
integer Current category id
Return :
void
在文件中:
app/admin/views/category/tpl/default.php 第 166 行
wpfd_after_create_new_category
创建新类别后的操作
参数:
integer New category id
string 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 第 175 行
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第65行
wpfd_after_template_part
调用模板部分后触发动作
参数:
string Template name
string Template path dir
string Template path
array Template variables
Return :
void
在文件中:
应用程序/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
在文件中:
应用程序/admin/models/fts.php 第 1090 行
wpfd_before_single_file_info
在单个文件显示中的文件信息之前执行操作
参数:
object File object
Return :
void
在文件中:
app / site / themes / templates / tpl-single.php第49行
wpfd_before_template_part
在名为
参数:
string Template name
string Template path dir
string Template path
array Template variables
Return :
void
在文件中:
应用程序/functions.php第880行
wpfd_download_file_permission
当当前用户没有足够的权限下载此文件时触发动作。
参数:
string|integer
string|integer
integer
Return :
void
在文件中:
app/site/controllers/file.php 第 62 行
app/site/init.php 第 893 行
wpfd_download_file_permission
当当前用户没有足够的权限下载此文件时触发动作。
参数:
string|integer
string|integer
integer
Return :
void
在文件中:
app/site/controllers/file.php 第 62 行
app/site/init.php 第 893 行
wpfd_download_link_expired
过期下载页面的操作
参数:
string|integer
string|integer
integer
Return :
void
在文件中:
app/site/controllers/file.php 第 85 行
app/site/init.php 第 916 行
wpfd_download_link_expired
过期下载页面的操作
参数:
string|integer
string|integer
integer
Return :
void
在文件中:
app/site/controllers/file.php 第 85 行
app/site/init.php 第 916 行
wpfd_file_deleted
删除文件后触发操作
参数:
array Deleted file info
WP_Term Category the file was deleted from
array Additional information
Return :
void
在文件中:
app/admin/controllers/file.php 第 654 行
app/admin/controllers/file.php 第 725 行
wpfd_file_download
在下载文件之前立即执行操作。
不要在此处回显任何内容,否则文件下载将损坏
参数:
object File id
array Source
Return :
void
在文件中:
app/site/controllers/file.php 行 336
app/site/controllers/file.php 行 452
app/site/controllers/file.php 行 530
app/site/controllers/file.php 行 606
app/site/controllers/ file.php 第 633
行 app/site/controllers/file.php 第 714
行 app/site/init.php 第 1158 行
app/site/init.php 第 1290 行
app/site/init.php 第 1385
行 app/site/init.php第 1476 行
app/site/init.php 第 1628 行
wpfd_file_download
在下载文件之前立即执行操作。
不要在此处回显任何内容,否则文件下载将损坏
参数:
object File id
array Source
Return :
void
在文件中:
app/site/controllers/file.php 行 336
app/site/controllers/file.php 行 452
app/site/controllers/file.php 行 530
app/site/controllers/file.php 行 606
app/site/controllers/ file.php 第 633
行 app/site/controllers/file.php 第 714
行 app/site/init.php 第 1158 行
app/site/init.php 第 1290 行
app/site/init.php 第 1385
行 app/site/init.php第 1476 行
app/site/init.php 第 1628 行
wpfd_file_indexed
文件索引后执行操作
参数:
integer Inserted post id
array Post content to index
Return :
void
在文件中:
应用程序/admin/models/fts.php 第 1192 行
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 第 1300 行
wpfd_generate_preview_after_merge_image_vertical
合并图像垂直后的动作触发
参数:
string $destinationPath Merged image path
WpfdModelGeneratepreview $this Current Model
Return :
void
在文件中:
应用程序/管理/模型/generatepreview.php 第 1069 行
wpfd_generate_preview_after_resize_thumbnail
缩略图调整大小后的动作文件
参数:
string $fileName Thumbnail file path
Return :
void
在文件中:
应用程序/管理/模型/generatepreview.php第948行
wpfd_generate_preview_before_merge_image_vertical
合并图像垂直之前的动作触发
参数:
array $images Images page array
string $destinationPath Merged image path
WpfdModelGeneratepreview $this Current Model
Return :
void
在文件中:
应用程序/管理/模型/generatepreview.php第973行
wpfd_preview_file_permission
当当前用户没有足够的权限预览此文件时触发操作。
参数:
string|integer
string|integer
integer
Return :
void
在文件中:
app/site/controllers/file.php 第 74 行
app/site/init.php 第 905 行
wpfd_preview_file_permission
当当前用户没有足够的权限预览此文件时触发操作。
参数:
string|integer
string|integer
integer
Return :
void
在文件中:
app/site/controllers/file.php 第 74 行
app/site/init.php 第 905 行
wpfd_preview_generated
保存缩略图/预览后触发动作
参数:
string $savedFilePath Generated preview file path
string $thumbnailPath Generated thumbnail file path
array $currentQueue Current queue information
WpfdModelGeneratepreview $this GeneratePreview Model
Return :
void
在文件中:
app/admin/models/generatepreview.php 第 432 行
app/admin/models/generatepreview.php 第 578 行
app/admin/models/generatepreview.php 第 755 行
wpfd_save_category
保存类别参数后动作
参数:
integer Term id
array Category params
Return :
void
在文件中:
应用程序/管理/控制器/category.php第341行
wpfd_save_category_settings_button
在右侧面板中的类别保存按钮之前执行操作
参数:
integer Current category id
Return :
void
在文件中:
app/admin/views/category/tpl/default.php 第 380 行
wpfd_save_file_params
文件数据保存到数据库后
参数:
array File data array
Return :
void
在文件中:
app/admin/models/file.php 第 187 行
wpfd_update_category_color
更新类别颜色
参数:
integer Term id to change color
string New category color
Return :
void
在文件中:
app/admin/controllers/category.php 第 297 行
app/admin/controllers/category.php 第 704 行
app/admin/controllers/category.php 第 845 行
wpfd_update_category_color
更新类别颜色
参数:
integer Term id to change color
string New category color
Return :
void
在文件中:
app/admin/controllers/category.php 第 297 行
app/admin/controllers/category.php 第 704 行
app/admin/controllers/category.php 第 845 行
wpfd_update_category_color
更新类别颜色
参数:
integer Term id to change color
string New category color
Return :
void
在文件中:
app/admin/controllers/category.php 第 297 行
app/admin/controllers/category.php 第 704 行
app/admin/controllers/category.php 第 845 行
wpfd_update_category_description
更新类别颜色后
参数:
integer Term id to change color
string New category color
Return :
void
在文件中:
应用程序/管理/控制器/category.php第263行
wpfd_update_category_name
更新类别名称
参数:
integer Term id to change name
string 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 第 708 行
wpfd _ {$ themeName} _after_template_hooks
钩住模板后采取行动
参数:
none
Return :
void
在文件中:
app/site/themes/wpfd-preview/theme.php 第 115 行
app/site/themes/wpfd-ggd/theme.php 第 116 行
app/site/themes/wpfd-tree/theme.php 第 86 行
app/site/themes /templates/wpfd-theme.class.php 第 698 行
wpfd _ {$ themeName} _after_theme_content
主题内容后的动作打印
参数:
object Current theme instance
array Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 282 行
app/site/themes/wpfd-preview/tpl.php 第 275 行
app/site/themes/wpfd-ggd/tpl.php 第 272 行
app/site/themes /wpfd-default/tpl.php 第 282 行
app/site/themes/templates/tpl-default.php 第 219 行
wpfd _ {$ themeName} _before_files_loop
文件循环前采取行动
参数:
object Current theme params
array Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 146 行
app/site/themes/wpfd-preview/tpl.php 第 194 行
app/site/themes/wpfd-ggd/tpl.php 第 193 行
app/site/themes /wpfd-default/tpl.php 第 159 行
app/site/themes/wpfd-tree/tpl.php 第 175 行
app/site/themes/templates/tpl-default.php 第 139 行
wpfd _ {$ themeName} _before_files_loop_handlebars
文件在把手模板中循环之前触发操作
参数:
array Current theme params
array Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 36 行
app/site/themes/wpfd-preview/tpl.php 第 121 行
app/site/themes/wpfd-ggd/tpl.php 第 121 行
app/site/themes /wpfd-default/tpl.php 第 47 行
app/site/themes/templates/tpl-default.php 第 43 行
wpfd _ {$ themeName} _before_template_hooks
在模板挂起之前采取行动
参数:
none
Return :
void
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第570行
wpfd _ {$ themeName} _before_theme_content
在主题内容之前进行动作打印
参数:
object Current theme params
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 106 行
app/site/themes/wpfd-preview/tpl.php 第 101 行
app/site/themes/wpfd-ggd/tpl.php 第 101 行
app/site/themes /wpfd-default/tpl.php 第 27 行
app/site/themes/wpfd-tree/tpl.php 第 158 行
app/site/themes/wpfd-tree/tpl.php 第 279 行
app/site/themes/templates/tpl- default.php 第 25 行
wpfd _ {$ themeName} _buttons
显示按钮的动作
参数:
object Current file object
array Global config
array Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 226 行
app/site/themes/wpfd-default/tpl.php 第 230 行
app/site/themes/templates/tpl-default.php 第 198 行
wpfd _ {$ themeName} _buttons_handlebars
车把模板中的操作打印按钮
参数:
array $config Main config
array $params Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 84 行
app/site/themes/wpfd-preview/tpl.php 第 83 行
app/site/themes/wpfd-ggd/tpl.php 第 83 行
app/site/themes /wpfd-default/tpl.php 第 112 行
app/site/themes/wpfd-tree/tpl.php 第 81 行
app/site/themes/templates/tpl-default.php 第 101 行
wpfd _ {$ themeName} _columns
显示列的动作
参数:
array Main config
array Category config
Return :
void
在文件中:
应用程序/网站/主题/wpfd-table/tpl.php 第 171 行
wpfd _ {$ themeName} _file_block
显示文件块的动作
参数:
object Current file object
array Global config
array 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
在车把模板中显示文件块的操作
参数:
array Main config
array 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 object
array Global config
array 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
把手模板中的操作打印文件内容
参数:
array $config Main config
array $params Category config
Return :
void
在文件中:
app/site/themes/wpfd-preview/tpl.php 第 44 行
app/site/themes/wpfd-ggd/tpl.php 第 44 行
app/site/themes/wpfd-default/tpl.php 第 72 行
app/site/themes /wpfd-tree/tpl.php 第 41 行
app/site/themes/templates/tpl-default.php 第 65 行
wpfd _ {$ themeName} _file_info
显示文件信息的动作
参数:
object Current file object
array Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 206 行
app/site/themes/wpfd-default/tpl.php 第 210 行
app/site/themes/templates/tpl-default.php 第 180 行
wpfd _ {$ themeName} _file_info_handlebars
在车把模板中显示文件信息的操作
参数:
array Global config
array Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 64 行
app/site/themes/wpfd-preview/tpl.php 第 65 行
app/site/themes/wpfd-ggd/tpl.php 第 65 行
app/site/themes /wpfd-default/tpl.php 第 93 行
app/site/themes/wpfd-tree/tpl.php 第 63 行
app/site/themes/templates/tpl-default.php 第 84 行
wpfd _ {$ themeName} _folder_tree
动作打印文件夹树
参数:
object Current theme params
array Category config
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 126 行
app/site/themes/wpfd-preview/tpl.php 第 174 行
app/site/themes/wpfd-ggd/tpl.php 第 173 行
app/site/themes /wpfd-default/tpl.php 第 139 行
app/site/themes/templates/tpl-default.php 第 122 行
_wpfd_preview_generate_queue_running_updating
过滤器更新预览队列运行
参数:
none
Return :
boolean
在文件中:
app/admin/views/config/view.php 第 204 行
import_term_meta_key
筛选导入的术语meta的meta键。
参数:
string $meta_key Meta key.
int $term_id ID of the newly created term.
array $term Term data from the WXR import.
Return :
void
在文件中:
应用程序/管理/类/导入/class-wp-import.php第390行
the_content_export
筛选用于WXR导出的帖子内容。
参数:
string $post_content Content of the current post.
Return :
void
在文件中:
应用程序/admin/controllers/config.php第990行
the_excerpt_export
筛选用于WXR导出的后摘录。
参数:
string $post_excerpt Excerpt for the current post.
Return :
void
在文件中:
应用程序/管理/控制器/config.php 第 1000 行
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 第 607 行
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
在文件中:
应用程序/管理/类/导入/class-wp-import.php第375行
wpfd_
表格的其他类别
参数:
array
Return :
void
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 184 行
wpfd_abs_path_to_url
过滤以更改最终 url
参数:
string
Return :
void
在文件中:
应用程序/functions.php第1152行
wpfd_automatic_revision
过滤器允许更改自动修订
参数:
string
array
Return :
void
在文件中:
app/admin/controllers/files.php 第 3443 行
wpfd_automatic_revision_date_format
过滤器允许在自动版本控制中更改日期格式
参数:
string
array
Return :
void
在文件中:
app/admin/controllers/files.php 第 3405 行
wpfd_automatic_revision_enabled
过滤器允许启用自动版本
参数:
boolean
array
Return :
void
在文件中:
app/admin/controllers/files.php 第 3359 行
wpfd_automatic_revision_increment_replacement
过滤器允许更改自动版本的替换
参数:
string
array
Return :
void
在文件中:
app/admin/controllers/files.php 第 3426 行
wpfd_automatic_revision_pattern
过滤器允许更改自动版本模式
参数:
string
array
Return :
void
在文件中:
app/admin/controllers/files.php 第 3372 行
wpfd_back_button_handlebars
全局过滤器更改后退按钮把手的 html 和参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 2259 行
wpfd_before_save_category
在保存到数据库之前过滤类别参数
参数:
array Category params
integer Term id
Return :
array
在文件中:
应用程序/管理/控制器/category.php第331行
wpfd_before_save_file_metadata
过滤器允许在保存到数据库之前修改文件元数据
参数:
array File meta data array
Return :
array
在文件中:
app/admin/models/file.php 第 177 行
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 color
integer Term id to change name
Return :
string|boolean
在文件中:
应用程序/管理/控制器/category.php第288行
wpfd_before_update_category_description
过滤器更新类别说明
参数:
string New category description
integer Term id to change name
Return :
string|boolean
在文件中:
应用程序/管理/控制器/category.php第250行
wpfd_before_update_category_name
筛选更新类别名称
参数:
string New category name
integer Term id to change name
Return :
string|boolean
在文件中:
app / admin / controllers / category.php第106行
wpfd_before_upload_file
上传文件前过滤
参数:
array File data
integer Current user id
Return :
array
在文件中:
app/admin/models/files.php 第 1229 行
wpfd_categories
允许过滤前面的类别列表
参数:
array
Return :
void
在文件中:
app/site/models/categoriesfront.php 第 164 行
wpfd_categories_order
过滤器允许更改类别的排序方向
参数:
string
Return :
string
在文件中:
app/site/controllers/categories.php 第 70 行
app/site/models/categoriesfront.php 第 52 行
app/site/models/categoriesfront.php 第 302 行
app/site/models/categoriesfront.php 第 357 行
wpfd_categories_orderby
过滤器允许更改类别的订单列
参数:
string
Return :
string
在文件中:
app/site/controllers/categories.php 第 79 行
app/site/models/categoriesfront.php 第 63 行
app/site/models/categoriesfront.php 第 313 行
app/site/models/categoriesfront.php 第 368 行
wpfd_category_description_handlebars
全局过滤器更改类别描述把手的 html 和参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第2429行
wpfd_category_item_handlebars
全局过滤器更改类别项目把手的 html 和参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2537 行
wpfd_category_loading_message
过滤器允许打开类别加载消息
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2171 行
app/site/themes/templates/wpfd-theme.class.php 第 470 行
wpfd_category_loading_message
过滤器允许打开类别加载消息
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2171 行
app/site/themes/templates/wpfd-theme.class.php 第 470 行
wpfd_category_title
全局过滤器更改类别标题的 html 和参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第2382行
wpfd_category_title_handlebars
用于更改类别标题把手的 html 和参数的全局过滤器
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2315 行
wpfd_category_tree
全局过滤器更改类别树的 html 和参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 2700 行
wpfd_category_tree_click_scroll_up
该过滤器允许在单击类别树时自动向上滚动到元素的顶部
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2198 行
app/site/themes/templates/wpfd-theme.class.php 第 497 行
wpfd_category_tree_click_scroll_up
该过滤器允许在单击类别树时自动向上滚动到元素的顶部
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2198 行
app/site/themes/templates/wpfd-theme.class.php 第 497 行
wpfd_category_tree_expanded
过滤器允许在前端扩展类别树
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2180 行
app/site/themes/templates/wpfd-theme.class.php 第 479 行
wpfd_category_tree_expanded
过滤器允许在前端扩展类别树
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2180 行
app/site/themes/templates/wpfd-theme.class.php 第 479 行
wpfd_category_tree_parent_expanded
过滤器允许在前端扩展类别树父级
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2189 行
app/site/themes/templates/wpfd-theme.class.php 第 488 行
wpfd_category_tree_parent_expanded
过滤器允许在前端扩展类别树父级
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2189 行
app/site/themes/templates/wpfd-theme.class.php 第 488 行
wpfd_clean_interval
过滤以更改清洁垃圾时间,这将覆盖WPFD_CLEAN_INTERVAL常数
参数:
$interval Time in second
Return :
void
在文件中:
app/functions.php 第 1811 行
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/admin/models/category.php 第 480 行
app/site/models/categoriesfront.php 第 528 行
app/site/models/categoryfront.php 第 88 行
wpfd_default_category_visibility
筛选器允许设置默认可见性
参数:
array Default values: roles, private
Return :
array
在文件中:
应用程序/functions.php第2599行
wpfd_file_download_button_args
全局过滤器更改下载按钮的 html 和参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1931 行
wpfd_file_download_button_handlebars_args
全局过滤器更改下载按钮把手的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1863 行
wpfd_file_info
过滤前面的文件信息
参数:
object File object
Return :
object
在文件中:
app/site/models/filefront.php 第 334 行
app/site/models/filefront.php 第 407 行
app/site/models/filesfront.php 第 339 行
wpfd_file_info_created_args
全局过滤器更改创建的 html 和参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1445 行
wpfd_file_info_created_handlebars_args
全局过滤器更改创建的车把的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1394 行
wpfd_file_info_description_args
用于更改 html 和描述参数的全局过滤器
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第989行
wpfd_file_info_description_handlebars_args
全局过滤器更改描述车把的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第940行
wpfd_file_info_hits_args
全局过滤器更改 html 和命中参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1345 行
wpfd_file_info_hits_handlebars_args
全局过滤器更改命中车把的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1294 行
wpfd_file_info_icon_html
全局过滤器更改图标 html
参数:
string Output html for handlebars template
object Current file object
array Main config
array Current category config
Return :
string
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1658 行
wpfd_file_info_modified_args
全局过滤器更改 html 和修改的参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1547 行
wpfd_file_info_modified_handlebars_args
全局过滤器更改修改后的车把的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1494 行
wpfd_file_info_size_args
用于更改 html 和大小参数的全局过滤器
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1245 行
wpfd_file_info_size_handlebars_args
全局过滤器更改 html 和尺寸把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1194 行
wpfd_file_info_title_args
全局过滤器更改标题的 html 和参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1774 行
wpfd_file_info_title_handlebars_args
全局过滤器更改标题把手的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1714 行
wpfd_file_info_version_args
Globa 过滤器更改版本的 html 和参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1144 行
wpfd_file_info_version_handlebars_args
用于更改版本把手的 html 和参数的全局过滤器
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1091 行
wpfd_file_large_size_custom_icon
筛选以选择大尺寸文件自定义图标
参数:
boolean
Return :
void
在文件中:
应用程序/管理/init.php 第 393 行
wpfd_file_open_pdf_button_args
全局过滤器更改打开 pdf 按钮的 html 和参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2111 行
wpfd_file_open_pdf_button_handlebars_args
全局过滤器更改打开的 pdf 按钮把手的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 1995 年行
wpfd_file_params
过滤以在加载到字段之前更新数据
参数:
array Data load to fields
Return :
array
在文件中:
应用程序/管理/视图/文件/view.php 第 148 行
wpfd_file_preview_button_args
用于更改预览按钮的 html 和参数的 Globacl 过滤器
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第2161行
wpfd_file_preview_button_handlebars_args
全局过滤器更改预览按钮把手的 html 和参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2040 行
wpfd_file_preview_link_when_disable_download_popup
过滤器允许在禁用下载弹出窗口时更改文件下载链接
参数:
boolean
Return :
void
在文件中:
app/site/themes/wpfd-preview/theme.php 第 201 行
app/site/themes/wpfd-preview/theme.php 第 263 行
app/site/themes/wpfd-ggd/theme.php 第 162 行
app/site/themes /wpfd-ggd/theme.php 第 220 行
app/site/themes/wpfd-tree/tpl.php 第 19 行
wpfd_file_title
过滤以更改文件标题
参数:
string File title
integer File id
Return :
string
在文件中:
app/site/models/filefront.php 第 121 行
app/site/models/filefront.php 第 374 行
app/site/models/filefront.php 第 252 行
app/site/models/filesfront.php 第 182 行
app/site/models/ filesfront.php 第 328 行
wpfd_file_title_open_file_in_new_tab
单击文件标题时,过滤器允许在新选项卡中打开文件
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2207 行
app/site/themes/templates/wpfd-theme.class.php 第 506 行
wpfd_file_title_open_file_in_new_tab
单击文件标题时,过滤器允许在新选项卡中打开文件
参数:
boolean
Return :
boolean
在文件中:
app/functions.php 第 2207 行
app/site/themes/templates/wpfd-theme.class.php 第 506 行
wpfd_generate_preview_page_number
生成预览图像时的最大页数
参数:
integer
Return :
void
在文件中:
app/admin/models/generatepreview.php 第 409 行
app/admin/models/generatepreview.php 第 734 行
wpfd_generate_preview_queue_interval
过滤以更改生成预览间隔,这将覆盖WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL常数
参数:
$interval Time in second
Return :
void
在文件中:
应用程序/functions.php第2552行
wpfd_generate_preview_url
过滤生成预览 url
参数:
boolean Generate preview url
string File id
string Category id
string Token
Return :
boolean
在文件中:
app/site/helpers/WpfdHelperFile.php 第 103 行
wpfd_generated_preview_file_real_path
过滤器允许对生成的预览文件做任何事情
参数:
string
Return :
void
在文件中:
应用程序/管理/模型/generatepreview.php第857行
wpfd_get_content_dir
过滤以更改自定义内容目录。 默认值:'wp-file-download'
参数:
string The current custom content dir string.
Return :
boolean
在文件中:
应用程序/functions.php 第 86 行
wpfd_get_support_cloud
筛选器返回支持的云平台
需要检测类别/文件来自何处
参数:
array Cloud platform list
Return :
array
在文件中:
应用程序/functions.php 第 1019 行
wpfd_get_template
允许第三方插件过滤器
参数:
string Template path
string Template name
array Template variables
string Template path dir
string Default path dir
Return :
string
在文件中:
应用程序/functions.php第870行
wpfd_index_file
过滤以在索引上添加文件内容
参数:
array Chunks
WP_Post Post object
Return :
void
在文件中:
应用程序/admin/models/fts.php 第 1176 行
wpfd_locate_template
返回找到的模板路径过滤
参数:
string Template path
string Template name
string Template path dir
Return :
void
在文件中:
应用程序/functions.php第832行
wpfd_locate_theme
返回找到的模板路径过滤
参数:
string Template path
string Template name
string Template path dir
Return :
void
在文件中:
应用程序/functions.php第957行
wpfd_not_authorized_redirect_url
当用户无权下载当前文件时进行过滤以重定向用户
参数:
string
Return :
void
在文件中:
app/site/controllers/file.php 第 243 行
app/site/init.php 第 1076 行
wpfd_not_authorized_redirect_url
当用户无权下载当前文件时进行过滤以重定向用户
参数:
string
Return :
void
在文件中:
app/site/controllers/file.php 第 243 行
app/site/init.php 第 1076 行
wpfd_password_expires
过滤后密码 cookie 的生命周期。
默认情况下,cookie 在创建后 10 天到期。
要将其转换为会话 cookie,请返回 0。
参数:
int $expires The expiry time, as passed to setcookie().
Return :
void
在文件中:
应用程序/站点/控制器/file.php 第 1102 行
wpfd_password_form
过滤受保护的发布密码表单的 HTML 输出。
如果修改密码字段,请注意核心数据库架构
将密码字段限制为 20 个字符,而不管
表单输入中的size 属性值如何。
参数:
string $output The password form HTML output.
WP_Post $object Object.
Return :
void
在文件中:
应用程序/functions.php第3287行
wpfd_preview_service_url
过滤以更改预览服务网址
参数:
string Preview url with %s placeholder for url
Return :
string
在文件中:
app/site/helpers/WpfdHelperFile.php 第 121 行
wpfd_preview_url
过滤以更改预览网址
参数:
string Output url
string Preview url with %s placeholder for file encoded url
string Ajax Url to preview file
Return :
string
在文件中:
app/site/helpers/WpfdHelperFile.php 第 132 行
wpfd_real_abs_path
过滤以修复某些主机/服务器中错误的 ABSPATH
参数:
string
Return :
void
在文件中:
应用程序/functions.php第1135行
wpfd_remove_download_zip_file_from_server
用于从服务器中删除 zip 文件的过滤器
参数:
boolean
Return :
void
在文件中:
app/site/controllers/files.php 第 94 行
wpfd_search_login_required
过滤以检查搜索文件的登录
参数:
none
Return :
boolean
在文件中:
应用程序/站点/helpers/WpfdHelperShortcodes.php 第 2223 行
wpfd_search_results
筛选搜索结果
参数:
array Files results
array Search filters
Return :
array
在文件中:
app/site/models/search.php 第 513 行
wpfd_search_results_file_title_length
允许更改搜索结果的文件长度
参数:
integer
Return :
void
在文件中:
应用程序/网站/模型/search.php 第 775 行
wpfd_search_results_order
搜索结果排序方向
参数:
string
Return :
void
在文件中:
app/site/models/search.php 第 251 行
wpfd_search_results_orderby
搜索结果 orderby
参数:
string
Return :
void
在文件中:
应用程序/网站/模型/search.php 第 244 行
wpfd_search_results_orderby_relevance
过滤器根据关键字的相关性对文件进行排序。
参数:
boolean
Return :
boolean
在文件中:
应用程序/站点/视图/搜索/view.php 第 270 行
wpfd_search_tags_relation
过滤器允许更改标签的关系
参数:
string
Return :
void
在文件中:
app/site/models/search.php 第 132 行
wpfd_selected_file
选择要下载的文件的过滤器
参数:
array
Return :
void
在文件中:
app/site/controllers/files.php 第 300 行
app/site/controllers/files.php 第 468 行
wpfd_selected_file
选择要下载的文件的过滤器
参数:
array
Return :
void
在文件中:
app/site/controllers/files.php 第 300 行
app/site/controllers/files.php 第 468 行
wpfd_selected_files
筛选选择下载的文件
参数:
array
Return :
void
在文件中:
app/site/controllers/files.php 第 87 行
wpfd_show_upload_form_reverse
过滤以更改上传表单
参数:
boolean
Return :
void
在文件中:
app/site/themes/wpfd-table/tpl.php 第 247 行
app/site/themes/wpfd-preview/tpl.php 第 241 行
app/site/themes/wpfd-ggd/tpl.php 第 238 行
app/site/themes /wpfd-default/tpl.php 第 248 行
app/site/themes/wpfd-tree/tpl.php 第 248 行
app/site/views/files/view.php 第 421 行
wpfd_statistics_filter_by
统计资料筛选依据
参数:
array
Return :
void
在文件中:
app / admin / views / statistics / tpl / filters.php第44行
wpfd_statistics_filter_by_placeholders
按占位符过滤统计
参数:
array
Return :
void
在文件中:
app / admin / views / statistics / tpl / filters.php第51行
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/functions.php 第 1789 行
app/site/models/tokens.php 第 123 行
app/site/models/tokens.php 第 170 行
wpfd_upload_dir
过滤器允许更改文件上传目录
参数:
string
Return :
void
在文件中:
app/admin/classes/WpfdBase.php 第 55 行
wpfd_user_can
筛选当前用户的检查功能以编辑权限设置
参数:
boolean The current user has the given capability
string Action name
Return :
boolean
在文件中:
app/functions.php 第1169行
app/functions.php 第1186行
app/functions.php 第1230行
app/functions.php 第1250行
app/functions.php 第1270行
app/functions.php 第1290行
app/functions.php 第1340
行/functions.php 第 1390 行
app/admin/classes/install-wizard/install-wizard.php 第 59 行
jutranslation/jutranslation.php 第 100 行
wpfd_user_can
筛选检查当前用户以管理文件的能力
参数:
boolean The current user has the given capability
string Action name
Return :
boolean
在文件中:
app/functions.php 第1169行
app/functions.php 第1186行
app/functions.php 第1230行
app/functions.php 第1250行
app/functions.php 第1270行
app/functions.php 第1290行
app/functions.php 第1340
行/functions.php 第 1390 行
app/admin/classes/install-wizard/install-wizard.php 第 59 行
jutranslation/jutranslation.php 第 100 行
wpfd_you_dont_have_permission_redirect_url
当用户无权下载当前文件时进行过滤以重定向用户
参数:
string
Return :
void
在文件中:
app/site/controllers/file.php 第 222 行
app/site/init.php 第 1055 行
wpfd_you_dont_have_permission_redirect_url
当用户无权下载当前文件时进行过滤以重定向用户
参数:
string
Return :
void
在文件中:
app/site/controllers/file.php 第 222 行
app/site/init.php 第 1055 行
wpfd _ {$ themeName} _back_button_handlebars
过滤以更改html和后退按钮手把的参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第2272行
wpfd_{$themeName}_category_description
用于更改类别描述的 html 和参数的全局过滤器
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2476 行
app/site/themes/templates/wpfd-theme.class.php 第 2489 行
wpfd_{$themeName}_category_description
过滤以更改类别描述的 html 和参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2476 行
app/site/themes/templates/wpfd-theme.class.php 第 2489 行
wpfd_{$themeName}_category_description_handlebars
过滤以更改类别描述把手的 html 和参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第2442行
wpfd _ {$ themeName} _category_item
全局过滤器更改类别项目的 html 和参数
参数:
array Template array
object Current category object
object Current theme object
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2642 行
app/site/themes/templates/wpfd-theme.class.php 第 2656 行
wpfd _ {$ themeName} _category_item
过滤以更改html和类别项目的参数
参数:
array Template array
object Current category object
object Current theme object
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2642 行
app/site/themes/templates/wpfd-theme.class.php 第 2656 行
wpfd _ {$ themeName} _category_item_handlebars
过滤以更改html和类别项目车把的参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 2550 行
wpfd _ {$ themeName} _category_title
过滤以更改html和类别标题的参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 2395 行
wpfd _ {$ themeName} _category_title_handlebars
进行过滤以更改html和类别标题把手的参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第2328行
wpfd _ {$ themeName} _category_tree
过滤以更改html和类别树的参数
参数:
array Template array
object Current theme object
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2713 行
wpfd _ {$ themeName} _column_created_header_html
过滤以更改创建日期列的html标头
参数:
string Header html
Return :
string
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 882 行
wpfd _ {$ themeName} _column_description_header_html
过滤以更改描述列的html标头
参数:
string Header html
Return :
string
在文件中:
app/site/themes/wpfd-table/theme.php 第 713 行
app/site/themes/wpfd-table/theme.php 第 747 行
app/site/themes/wpfd-table/theme.php 第 1008 行
wpfd _ {$ themeName} _column_description_header_html
过滤以更改描述列的html标头
参数:
string Header html
Return :
string
在文件中:
app/site/themes/wpfd-table/theme.php 第 713 行
app/site/themes/wpfd-table/theme.php 第 747 行
app/site/themes/wpfd-table/theme.php 第 1008 行
wpfd _ {$ themeName} _column_description_header_html
过滤以更改描述列的html标头
参数:
string Header html
Return :
string
在文件中:
app/site/themes/wpfd-table/theme.php 第 713 行
app/site/themes/wpfd-table/theme.php 第 747 行
app/site/themes/wpfd-table/theme.php 第 1008 行
wpfd _ {$ themeName} _column_download_header_html
过滤以更改下载列的html标头
参数:
string Header html
Return :
string
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 951 行
wpfd _ {$ themeName} _column_hits_header_html
进行过滤以更改点击列的html标头
参数:
string Header html
Return :
string
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 849 行
wpfd _ {$ themeName} _column_modified_header_html
过滤以更改修改日期列的html标头
参数:
string Header html
Return :
string
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 916 行
wpfd _ {$ themeName} _column_size_header_html
过滤以更改大小列的html标头
参数:
string Header html
Return :
string
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 815 行
wpfd _ {$ themeName} _column_title_header_html
过滤以更改标题列的html标头
参数:
string Header html
Return :
string
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 679 行
wpfd _ {$ themeName} _column_version_header_html
过滤以更改版本列的html标头
参数:
string Header html
Return :
string
在文件中:
应用程序/站点/主题/wpfd-table/theme.php 第 781 行
wpfd _ {$ themeName} _content_wrapper
过滤以更改内容包装器输出
参数:
string Content wrapper
object Current theme object
Return :
string
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 750 行
wpfd _ {$ themeName} _content_wrapper_input
过滤以在内容包装器下方打印隐藏的输入
参数:
string Input html
object Current theme object
Return :
string
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 778 行
wpfd _ {$ themeName} _file_download_button_args
过滤以更改html和下载按钮的参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1945 行
wpfd _ {$ themeName} _file_download_button_handlebars_args
进行过滤以更改html和下载按钮把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1876 行
wpfd _ {$ themeName} _file_info_created_args
过滤以更改html和创建的参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1458 行
wpfd _ {$ themeName} _file_info_created_handlebars_args
过滤以更改html和创建的手把的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1407 行
wpfd _ {$ themeName} _file_info_description_args
过滤以更改html和描述参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php 第 1002 行
wpfd _ {$ themeName} _file_info_description_handlebars_args
过滤以更改html和描述把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 952 行
wpfd _ {$ themeName} _file_info_hits_args
过滤以更改HTML和匹配参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1358 行
wpfd _ {$ themeName} _file_info_hits_handlebars_args
过滤以更改html和命中把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1307 行
wpfd _ {$ themeName} _file_info_icon_hanlebars
筛选以更改图标HTML的车把模板
参数:
string Output html for handlebars template
array Main config
array Current category config
Return :
string
在文件中:
app/site/themes/wpfd-table/theme.php 第 260 行
app/site/themes/wpfd-preview/theme.php 第 173 行
app/site/themes/templates/wpfd-theme.class.php 第 1601 行
app/site /themes/templates/wpfd-theme.class.php 第 1614 行
wpfd _ {$ themeName} _file_info_icon_hanlebars
筛选以更改图标HTML的车把模板
参数:
string Output html for handlebars template
array Main config
array Current category config
Return :
string
在文件中:
app/site/themes/wpfd-table/theme.php 第 260 行
app/site/themes/wpfd-preview/theme.php 第 173 行
app/site/themes/templates/wpfd-theme.class.php 第 1601 行
app/site /themes/templates/wpfd-theme.class.php 第 1614 行
wpfd _ {$ themeName} _file_info_icon_html
筛选以更改图标HTML
参数:
string Output html for handlebars template
object Current file object
array Main config
array Current category config
Return :
string
在文件中:
app/site/themes/wpfd-table/theme.php 第 346 行
app/site/themes/templates/wpfd-theme.class.php 第 1672 行
wpfd _ {$ themeName} _file_info_modified_args
过滤以更改html和修改的参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1561 行
wpfd _ {$ themeName} _file_info_modified_handlebars_args
过滤以更改html和修改后的车把的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1507 行
wpfd _ {$ themeName} _file_info_size_args
过滤以更改html和参数大小
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1258 行
wpfd _ {$ themeName} _file_info_size_handlebars_args
过滤以更改html和尺寸为把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1206 行
wpfd _ {$ themeName} _file_info_title_args
过滤以更改html和title参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/wpfd-table/theme.php 第 377 行
app/site/themes/templates/wpfd-theme.class.php 第 1788 行
wpfd _ {$ themeName} _file_info_title_handlebars_args
过滤以更改html和标题把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/wpfd-table/theme.php 第 294 行
app/site/themes/templates/wpfd-theme.class.php 第 1727 行
wpfd _ {$ themeName} _file_info_version_args
过滤以更改HTML和版本参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 1157 行
wpfd _ {$ themeName} _file_info_version_handlebars_args
过滤以更改HTML和版本把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 1103 行
wpfd _ {$ themeName} _file_open_pdf_button_args
过滤以更改html和打开pdf按钮的参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/网站/主题/模板/wpfd-theme.class.php第2125行
wpfd _ {$ themeName} _file_open_pdf_button_handlebars_args
进行过滤以更改html和打开的pdf按钮把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 2008 行
wpfd _ {$ themeName} _file_preview_button_args
过滤以更改html和预览按钮的参数
参数:
array Template array
object Current file object
array Main config
array Current category config
Return :
array
在文件中:
应用程序/站点/主题/模板/wpfd-theme.class.php 第 2175 行
wpfd _ {$ themeName} _file_preview_button_handlebars_args
过滤以更改html和预览按钮把手的参数
参数:
array Template array
array Main config
array Current category config
Return :
array
在文件中:
app/site/themes/templates/wpfd-theme.class.php 第 2053 行
Composer
使用 WP CLI 以编程方式设置更新密钥
使用您用于安装 Composer 的相同密钥并执行此 Composer 命令来设置更新令牌
wp option update ju_user_token "YOUR_TOKEN"