Документация разработчика 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/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 строка 2752 app/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 строка 2752 app/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
Боевая стрельба перед частью шаблона, называемой
Параметры:
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
the_content_export
Фильтрует содержимое поста, используемое для экспорта в 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_before_upload_file
Фильтр перед загрузкой файла
Параметры:
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
Глобальный фильтр для изменения 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-кода и аргументов элементов категорий Handlebars
Параметры:
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
Глобальный фильтр для изменения 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
Глобальный фильтр для изменения HTML-кода и аргументов кнопки загрузки Handlebars
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов создаваемых Handlebars
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов пользовательских полей Handlebars
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов описания Handlebars
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов Handlebars при обработке попаданий
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов модифицированного Handlebars
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов размера Handlebars
Параметры:
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-кода и аргументов заголовка Handlebars
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов версии Handlebars
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов кнопки «Открыть PDF»
Параметры:
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
Глобальный фильтр для изменения HTML-кода и аргументов кнопок открытия PDF-файлов
Параметры:
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
Фильтрует HTML-вывод для защищенной формы ввода пароля. При изменении поля пароля обратите внимание, что основная схема базы данных ограничивает длину поля пароля 20 символами независимо от значения атрибута size в поле ввода формы.
Параметры:
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
Отфильтруйте, чтобы изменить 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 app/functions.php строка 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 app/functions.php строка 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
Фильтр для изменения HTML-кода и аргументов описания категории в Handlebars
Параметры:
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-кода и аргументов элементов категорий Handlebars
Параметры:
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
Фильтр для изменения 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
Фильтр для изменения HTML-кода и аргументов кнопки загрузки Handlebars
Параметры:
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
Фильтр для изменения HTML-кода и аргументов создаваемых элементов Handlebars
Параметры:
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
Фильтр для изменения HTML-кода и аргументов пользовательских полей Handlebars
Параметры:
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
Фильтр для изменения HTML-кода и аргументов описания Handlebars
Параметры:
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
Фильтр для изменения HTML-кода и аргументов Handlebars при обработке попаданий
Параметры:
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
Фильтр для изменения HTML-кода значка в шаблоне Handlebars
Параметры:
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
Фильтр для изменения HTML-кода значка в шаблоне Handlebars
Параметры:
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
Фильтр для изменения HTML-кода и аргументов модифицированного Handlebars
Параметры:
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-кода и аргументов заголовка Handlebars
Параметры:
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
Фильтр для изменения HTML-кода и аргументов версии Handlebars
Параметры:
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
Фильтр для изменения HTML-кода и аргументов кнопки «Открыть PDF»
Параметры:
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
Фильтр для изменения HTML-кода и аргументов кнопок открытия PDF-файлов
Параметры:
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
Программная настройка ключа обновления с помощью WP CLI
Используйте тот же ключ, который вы использовали при установке Composer, и выполните эту команду Composer, чтобы установить токен обновления. wp option update ju_user_token "YOUR_TOKEN"
Вот решение для использования наших плагинов в качестве зависимости Composer. Вам необходимо указать репозиторий Joomunited в файле composer.json. Пожалуйста, замените YOUR_TOKEN в URL-адресе на свой собственный токен. Вы можете найти его по адресу 