Документация для разработчиков 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 строка 153app/admin/views/config/tpl/ui-default.php строка 50app/admin/views/iconsbuilder/tpl/default.php строка 50
wpfd_addon_update_version_description
После копирования обновите версию и описание действия
Параметры:
string Versionstring Descriptionstring Category fromstring Category TermId
Return :
void
В файлах:
app/admin/controllers/files.php строка 902app/admin/controllers/files.php строка 995app/admin/controllers/files.php строка 2687app/admin/controllers/files.php строка 1028app/admin/controllers/files.php строка 1334app/admin/controllers/files.php строка 1836app/admin/controllers/files.php строка 3098app/admin/controllers/files.php строка 3589app/admin/controllers/files.php строка 1090app/admin/controllers/files.php строка 2120app/admin/controllers/files.php строка 2764app/admin/controllers/files.php строка 3900app/admin/controllers/files.php строка 1149app/admin/controllers/files.php строка 1273app/admin/controllers/files.php строка 1596app/admin/controllers/files.php строка 2824app/admin/controllers/files.php строка 2965app/admin/controllers/files.php строка 3302app/admin/controllers/files.php строка 1212app/admin/controllers/files.php строка 1716app/admin/controllers/files.php строка 2245app/admin/controllers/files.php строка 2892app/admin/controllers/files.php строка 4030app/admin/controllers/files.php строка 1393app/admin/controllers/files.php строка 1501app/admin/controllers/files.php строка 3027app/admin/controllers/files.php строка 3441app/admin/controllers/files.php строка 1467app/admin/controllers/files.php строка 3184app/admin/controllers/files.php строка 1534app/admin/controllers/files.php строка 1895app/admin/controllers/files.php строка 3515app/admin/controllers/files.php строка 3647app/admin/controllers/files.php строка 1659app/admin/controllers/files.php строка 1775app/admin/controllers/files.php строка 2373app/admin/controllers/files.php строка 1969app/admin/controllers/files.php строка 2046app/admin/controllers/files.php строка 2180app/admin/controllers/files.php строка 2307app/admin/controllers/files.php строка 2436app/admin/controllers/files.php строка 3961app/admin/controllers/files.php строка 4103app/admin/controllers/files.php строка 4245app/admin/controllers/files.php строка 2601app/admin/controllers/files.php строка 3231app/admin/controllers/files.php строка 3368app/admin/controllers/files.php строка 4171app/admin/controllers/files.php строка 3735app/admin/controllers/files.php строка 3767
wpfd_addon_update_version_description
После копирования обновите версию и описание действия
Параметры:
string Versionstring Descriptionstring Category fromstring Category TermId
Return :
void
В файлах:
app/admin/controllers/files.php строка 902app/admin/controllers/files.php строка 995app/admin/controllers/files.php строка 2687app/admin/controllers/files.php строка 1028app/admin/controllers/files.php строка 1334app/admin/controllers/files.php строка 1836app/admin/controllers/files.php строка 3098app/admin/controllers/files.php строка 3589app/admin/controllers/files.php строка 1090app/admin/controllers/files.php строка 2120app/admin/controllers/files.php строка 2764app/admin/controllers/files.php строка 3900app/admin/controllers/files.php строка 1149app/admin/controllers/files.php строка 1273app/admin/controllers/files.php строка 1596app/admin/controllers/files.php строка 2824app/admin/controllers/files.php строка 2965app/admin/controllers/files.php строка 3302app/admin/controllers/files.php строка 1212app/admin/controllers/files.php строка 1716app/admin/controllers/files.php строка 2245app/admin/controllers/files.php строка 2892app/admin/controllers/files.php строка 4030app/admin/controllers/files.php строка 1393app/admin/controllers/files.php строка 1501app/admin/controllers/files.php строка 3027app/admin/controllers/files.php строка 3441app/admin/controllers/files.php строка 1467app/admin/controllers/files.php строка 3184app/admin/controllers/files.php строка 1534app/admin/controllers/files.php строка 1895app/admin/controllers/files.php строка 3515app/admin/controllers/files.php строка 3647app/admin/controllers/files.php строка 1659app/admin/controllers/files.php строка 1775app/admin/controllers/files.php строка 2373app/admin/controllers/files.php строка 1969app/admin/controllers/files.php строка 2046app/admin/controllers/files.php строка 2180app/admin/controllers/files.php строка 2307app/admin/controllers/files.php строка 2436app/admin/controllers/files.php строка 3961app/admin/controllers/files.php строка 4103app/admin/controllers/files.php строка 4245app/admin/controllers/files.php строка 2601app/admin/controllers/files.php строка 3231app/admin/controllers/files.php строка 3368app/admin/controllers/files.php строка 4171app/admin/controllers/files.php строка 3735app/admin/controllers/files.php строка 3767
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 строка 63app/site/init.php строка 879
wpfd_download_file_permission
Действие срабатывает, когда у текущего пользователя недостаточно прав для загрузки этого файла.
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 63app/site/init.php строка 879
wpfd_download_link_expired
Действия для страницы загрузки, срок действия которой истек
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 86app/site/init.php строка 902
wpfd_download_link_expired
Действия для страницы загрузки, срок действия которой истек
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 86app/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 строка 799app/admin/controllers/file.php строка 877app/admin/controllers/file.php строка 935app/admin/controllers/file.php строка 1288
wpfd_file_download
Действие запускается непосредственно перед загрузкой файла. Не выводите здесь ничего на экран, иначе загрузка файла будет повреждена
Параметры:
object File idarray Source
Return :
void
В файлах:
app/site/controllers/file.php строка 366app/site/controllers/file.php строка 452app/site/controllers/file.php строка 559app/site/controllers/file.php строка 637app/site/controllers/file.php строка 713app/site/controllers/file.php строка 755app/site/controllers/file.php строка 778app/site/controllers/file.php строка 870app/site/init.php строка 1166app/site/init.php строка 1271app/site/init.php строка 1402app/site/init.php строка 1497app/site/init.php строка 1588app/site/init.php строка 1790
wpfd_file_download
Действие запускается непосредственно перед загрузкой файла. Не выводите здесь ничего на экран, иначе загрузка файла будет повреждена
Параметры:
object File idarray Source
Return :
void
В файлах:
app/site/controllers/file.php строка 366app/site/controllers/file.php строка 452app/site/controllers/file.php строка 559app/site/controllers/file.php строка 637app/site/controllers/file.php строка 713app/site/controllers/file.php строка 755app/site/controllers/file.php строка 778app/site/controllers/file.php строка 870app/site/init.php строка 1166app/site/init.php строка 1271app/site/init.php строка 1402app/site/init.php строка 1497app/site/init.php строка 1588app/site/init.php строка 1790
wpfd_file_download
Действие запускается непосредственно перед загрузкой файла. Не выводите здесь ничего на экран, иначе загрузка файла будет повреждена
Параметры:
object File idarray Source
Return :
void
В файлах:
app/site/controllers/file.php строка 366app/site/controllers/file.php строка 452app/site/controllers/file.php строка 559app/site/controllers/file.php строка 637app/site/controllers/file.php строка 713app/site/controllers/file.php строка 755app/site/controllers/file.php строка 778app/site/controllers/file.php строка 870app/site/init.php строка 1166app/site/init.php строка 1271app/site/init.php строка 1402app/site/init.php строка 1497app/site/init.php строка 1588app/site/init.php строка 1790
wpfd_file_download
Действие запускается непосредственно перед загрузкой файла. Не выводите здесь ничего на экран, иначе загрузка файла будет повреждена
Параметры:
object File idarray Source
Return :
void
В файлах:
app/site/controllers/file.php строка 366app/site/controllers/file.php строка 452app/site/controllers/file.php строка 559app/site/controllers/file.php строка 637app/site/controllers/file.php строка 713app/site/controllers/file.php строка 755app/site/controllers/file.php строка 778app/site/controllers/file.php строка 870app/site/init.php строка 1166app/site/init.php строка 1271app/site/init.php строка 1402app/site/init.php строка 1497app/site/init.php строка 1588app/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 строка 1059
wpfd_generate_preview_after_resize_thumbnail
Файл действий после изменения размера миниатюры
Параметры:
string $fileName Thumbnail file path
Return :
void
В файлах:
app/admin/models/generatepreview.php строка 938
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 строка 963
wpfd_preview_file_permission
Действие срабатывает, когда у текущего пользователя недостаточно прав для предварительного просмотра этого файла.
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 75app/site/init.php строка 891
wpfd_preview_file_permission
Действие срабатывает, когда у текущего пользователя недостаточно прав для предварительного просмотра этого файла.
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 75app/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 строка 417app/admin/models/generatepreview.php строка 563app/admin/models/generatepreview.php строка 745
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 строка 297app/admin/controllers/category.php строка 714app/admin/controllers/category.php строка 855
wpfd_update_category_color
Обновить цвет категории
Параметры:
integer Term id to change colorstring New category color
Return :
void
В файлах:
app/admin/controllers/category.php строка 297app/admin/controllers/category.php строка 714app/admin/controllers/category.php строка 855
wpfd_update_category_color
Обновить цвет категории
Параметры:
integer Term id to change colorstring New category color
Return :
void
В файлах:
app/admin/controllers/category.php строка 297app/admin/controllers/category.php строка 714app/admin/controllers/category.php строка 855
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 строка 87app/site/themes/templates/wpfd-theme.class.php строка 752app/site/themes/wpfd-ggd/theme.php строка 117app/site/themes/wpfd-preview/theme.php строка 115
wpfd_{$themeName}_after_theme_content
Экшн-печать после тематического контента
Параметры:
object Current theme instancearray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 291app/site/themes/wpfd-default/tpl.php строка 296app/site/themes/templates/tpl-default.php строка 219app/site/themes/wpfd-ggd/tpl.php строка 272app/site/themes/wpfd-preview/tpl.php строка 275
wpfd_{$themeName}_before_files_loop
Действие запускается перед циклом файлов
Параметры:
object Current theme paramsarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 146app/site/themes/wpfd-tree/tpl.php строка 181app/site/themes/wpfd-default/tpl.php строка 159app/site/themes/templates/tpl-default.php строка 139app/site/themes/wpfd-ggd/tpl.php строка 193app/site/themes/wpfd-preview/tpl.php строка 194
wpfd_{$themeName}_before_files_loop_handlebars
Действие выполняется перед циклом обработки файлов в шаблоне Handlebars
Параметры:
array Current theme paramsarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 36app/site/themes/wpfd-default/tpl.php строка 47app/site/themes/templates/tpl-default.php строка 43app/site/themes/wpfd-ggd/tpl.php строка 121app/site/themes/wpfd-preview/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-table/tpl.php строка 106app/site/themes/wpfd-tree/tpl.php строка 164app/site/themes/wpfd-tree/tpl.php строка 299app/site/themes/wpfd-default/tpl.php строка 27app/site/themes/templates/tpl-default.php строка 25app/site/themes/wpfd-ggd/tpl.php строка 101app/site/themes/wpfd-preview/tpl.php строка 101
wpfd_{$themeName}_buttons
Действие для отображения кнопок
Параметры:
object Current file objectarray Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 233app/site/themes/wpfd-default/tpl.php строка 244app/site/themes/templates/tpl-default.php строка 198
wpfd_{$themeName}_buttons_handlebars
Шаблон кнопок печати действий на руле
Параметры:
array $config Main configarray $params Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 84app/site/themes/wpfd-tree/tpl.php строка 83app/site/themes/wpfd-default/tpl.php строка 112app/site/themes/templates/tpl-default.php строка 101app/site/themes/wpfd-ggd/tpl.php строка 83app/site/themes/wpfd-preview/tpl.php строка 83
wpfd_{$themeName}_columns
Действие для отображения столбцов
Параметры:
array Main configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 169
wpfd_{$themeName}_file_block
Действие для отображения блока файла
Параметры:
object Current file objectarray Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 216app/site/themes/wpfd-preview/tpl.php строка 219
wpfd_{$themeName}_file_block_handlebars
Действие для отображения блока файла в шаблоне Handlebars
Параметры:
array Main configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 143app/site/themes/wpfd-preview/tpl.php строка 145
wpfd_{$themeName}_file_content
Действие для отображения содержимого файла
Параметры:
object Current file objectarray Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-default/tpl.php строка 203app/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-tree/tpl.php строка 44app/site/themes/wpfd-default/tpl.php строка 72app/site/themes/templates/tpl-default.php строка 65app/site/themes/wpfd-ggd/tpl.php строка 44app/site/themes/wpfd-preview/tpl.php строка 44
wpfd_{$themeName}_file_info
Действие для отображения информации о файле
Параметры:
object Current file objectarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 214app/site/themes/wpfd-default/tpl.php строка 224app/site/themes/templates/tpl-default.php строка 180
wpfd_{$themeName}_file_info_handlebars
Действие для отображения информации о файле в шаблоне Handlebars
Параметры:
array Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 64app/site/themes/wpfd-tree/tpl.php строка 65app/site/themes/wpfd-default/tpl.php строка 93app/site/themes/templates/tpl-default.php строка 84app/site/themes/wpfd-ggd/tpl.php строка 65app/site/themes/wpfd-preview/tpl.php строка 65
wpfd_{$themeName}_folder_tree
дерево папок для печати действий
Параметры:
object Current theme paramsarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 126app/site/themes/wpfd-default/tpl.php строка 139app/site/themes/templates/tpl-default.php строка 122app/site/themes/wpfd-ggd/tpl.php строка 173app/site/themes/wpfd-preview/tpl.php строка 174
_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 строка 211
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 строка 4531
wpfd_automatic_revision_date_format
Фильтр позволяет изменять формат даты в автоматическом версионировании
Параметры:
string array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4493
wpfd_automatic_revision_enabled
Фильтр позволяет включить автоматическую версию
Параметры:
boolean array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4447
wpfd_automatic_revision_increment_replacement
Фильтр позволяет изменить замену для автоматической версии
Параметры:
string array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4514
wpfd_automatic_revision_pattern
Фильтр позволяет изменить шаблон автоматической версии
Параметры:
string array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4460
wpfd_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_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 строка 176
wpfd_categories_order
Фильтры позволяют изменять порядок сортировки категорий
Параметры:
string
Return :
string
В файлах:
app/site/controllers/categories.php строка 81app/site/models/categoriesfront.php строка 53app/site/models/categoriesfront.php строка 338app/site/models/categoriesfront.php строка 393
wpfd_categories_orderby
Фильтры позволяют изменять порядок столбцов категорий
Параметры:
string
Return :
string
В файлах:
app/site/controllers/categories.php строка 90app/site/models/categoriesfront.php строка 64app/site/models/categoriesfront.php строка 349app/site/models/categoriesfront.php строка 404
wpfd_category_description_handlebars
Глобальный фильтр для изменения HTML-кода и аргументов элементов описания категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2765
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 строка 2873
wpfd_category_loading_message
Фильтры позволяют включить сообщение о загрузке категории
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 513app/functions.php строка 2250
wpfd_category_loading_message
Фильтры позволяют включить сообщение о загрузке категории
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 513app/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 строка 2718
wpfd_category_title_handlebars
Глобальный фильтр для изменения HTML-кода и аргументов заголовка категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2651
wpfd_category_tree
Глобальный фильтр для изменения HTML-кода и аргументов дерева категорий
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 3036
wpfd_category_tree_click_scroll_up
Фильтр позволяет при нажатии на дерево категорий автоматически прокручивать страницу вверх до нужного элемента
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 540app/functions.php строка 2277
wpfd_category_tree_click_scroll_up
Фильтр позволяет при нажатии на дерево категорий автоматически прокручивать страницу вверх до нужного элемента
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 540app/functions.php строка 2277
wpfd_category_tree_expanded
Фильтры позволяют разворачивать дерево категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 522app/functions.php строка 2259
wpfd_category_tree_expanded
Фильтры позволяют разворачивать дерево категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 522app/functions.php строка 2259
wpfd_category_tree_parent_expanded
Фильтры позволяют развернуть родительский элемент дерева категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 531app/functions.php строка 2268
wpfd_category_tree_parent_expanded
Фильтры позволяют развернуть родительский элемент дерева категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 531app/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/categoriesfront.php строка 565app/site/models/categoryfront.php строка 89app/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 строка 2227
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 строка 2154
wpfd_file_info
Информация о файле отображается спереди
Параметры:
object File object
Return :
object
В файлах:
app/site/models/filesfront.php строка 623app/site/models/filefront.php строка 583app/site/models/filefront.php строка 658
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 строка 1577
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 строка 1526
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 строка 1744
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 строка 1792
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 строка 1121
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 строка 1072
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 строка 1477
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 строка 1426
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 строка 1903
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 строка 1679
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 строка 1626
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 строка 1377
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 строка 1326
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 строка 2060
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 строка 1981
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 строка 1276
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 строка 1223
wpfd_file_large_size_custom_icon
Фильтр для выбора пользовательской иконки для файлов большого размера
Параметры:
boolean
Return :
void
В файлах:
app/admin/init.php строка 405
wpfd_file_marker_days
Фильтр для изменения задержки по времени маркеров файлов
Параметры:
array The list of days
Return :
array
В файлах:
app/admin/forms/fields_v2/Filemarker.php строка 104
wpfd_file_marker_life_time
Фильтрация по истекшему времени
Параметры:
integer Expired time
Return :
void
В файлах:
app/functions.php строка 4573app/functions.php строка 4634app/functions.php строка 4676
wpfd_file_marker_life_time
Фильтрация по истекшему времени
Параметры:
integer Expired time
Return :
void
В файлах:
app/functions.php строка 4573app/functions.php строка 4634app/functions.php строка 4676
wpfd_file_marker_life_time
Фильтрация по истекшему времени
Параметры:
integer Expired time
Return :
void
В файлах:
app/functions.php строка 4573app/functions.php строка 4634app/functions.php строка 4676
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 строка 2447
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 строка 2310
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 строка 2498
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 строка 2356
wpfd_file_replace_download_with_preview
Фильтр позволяет изменить ссылку для скачивания файла, если отключено всплывающее окно загрузки
Параметры:
boolean
Return :
void
В файлах:
app/site/themes/wpfd-tree/tpl.php строка 20app/site/themes/wpfd-ggd/theme.php строка 177app/site/themes/wpfd-ggd/theme.php строка 257app/site/themes/wpfd-preview/theme.php строка 214app/site/themes/wpfd-preview/theme.php строка 298
wpfd_file_title
Фильтр для изменения названия файла
Параметры:
string File titleinteger File id
Return :
string
В файлах:
app/site/models/filesfront.php строка 237app/site/models/filesfront.php строка 399app/site/models/filefront.php строка 125app/site/models/filefront.php строка 623app/site/models/filefront.php строка 465
wpfd_file_title_open_file_in_new_tab
Фильтры позволяют открывать файл в новой вкладке при нажатии на название файла
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 549app/functions.php строка 2286
wpfd_file_title_open_file_in_new_tab
Фильтры позволяют открывать файл в новой вкладке при нажатии на название файла
Параметры:
boolean
Return :
boolean
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 549app/functions.php строка 2286
wpfd_generate_preview_page_number
Максимальное количество страниц при создании изображения предварительного просмотра
Параметры:
integer
Return :
void
В файлах:
app/admin/models/generatepreview.php строка 394app/admin/models/generatepreview.php строка 724
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_generate_single_template
WP File Download
Параметры:
none
Return :
void
В файлах:
app/site/themes/wpfd-single.php строка 10
wpfd_generated_preview_file_real_path
Фильтр позволяет выполнять любые действия с созданным файлом предварительного просмотра
Параметры:
string
Return :
void
В файлах:
app/admin/models/generatepreview.php строка 847
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 строка 273app/site/init.php строка 1084
wpfd_not_authorized_redirect_url
Фильтр для перенаправления пользователя, если у него нет разрешения на загрузку текущего файла
Параметры:
string
Return :
void
В файлах:
app/site/controllers/file.php строка 273app/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, строка 3475
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 строка 2342
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 строка 132app/admin/models/files.php строка 449
wpfd_search_tags_relation
Фильтр позволяет изменять взаимосвязь тегов
Параметры:
string
Return :
void
В файлах:
app/site/models/search.php строка 132app/admin/models/files.php строка 449
wpfd_selected_file
Фильтр выбранного файла для загрузки
Параметры:
array
Return :
void
В файлах:
app/site/controllers/files.php строка 308app/site/controllers/files.php строка 483
wpfd_selected_file
Фильтр выбранного файла для загрузки
Параметры:
array
Return :
void
В файлах:
app/site/controllers/files.php строка 308app/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-table/tpl.php строка 252app/site/themes/wpfd-tree/tpl.php строка 268app/site/themes/wpfd-default/tpl.php строка 262app/site/themes/wpfd-ggd/tpl.php строка 238app/site/themes/wpfd-preview/tpl.php строка 241app/site/views/files/view.php строка 474
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 строка 123app/site/models/tokens.php строка 170app/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 строка 59app/functions.php строка 1199app/functions.php строка 1216app/functions.php строка 1260app/functions.php строка 1280app/functions.php строка 1300app/functions.php строка 1320app/functions.php строка 1370app/functions.php строка 1420jutranslation/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 строка 59app/functions.php строка 1199app/functions.php строка 1216app/functions.php строка 1260app/functions.php строка 1280app/functions.php строка 1300app/functions.php строка 1320app/functions.php строка 1370app/functions.php строка 1420jutranslation/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/filesfront.php строка 334app/site/models/filefront.php строка 533
wpfd_wpml_download_language
Фильтр для настройки языков загрузки
Параметры:
boolean
Return :
void
В файлах:
app/site/models/filesfront.php строка 334app/site/models/filefront.php строка 533
wpfd_you_dont_have_permission_redirect_url
Фильтр для перенаправления пользователя, если у него нет разрешения на загрузку текущего файла
Параметры:
string
Return :
void
В файлах:
app/site/controllers/file.php строка 252app/site/init.php строка 1063
wpfd_you_dont_have_permission_redirect_url
Фильтр для перенаправления пользователя, если у него нет разрешения на загрузку текущего файла
Параметры:
string
Return :
void
В файлах:
app/site/controllers/file.php строка 252app/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 строка 2609
wpfd_{$themeName}_category_description
Глобальный фильтр для изменения HTML-кода и аргументов описания категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2812app/site/themes/templates/wpfd-theme.class.php строка 2825
wpfd_{$themeName}_category_description
Фильтр для изменения HTML-кода и аргументов описания категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2812app/site/themes/templates/wpfd-theme.class.php строка 2825
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 строка 2778
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 строка 2978app/site/themes/templates/wpfd-theme.class.php строка 2992
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 строка 2978app/site/themes/templates/wpfd-theme.class.php строка 2992
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 строка 2886
wpfd_{$themeName}_category_title
Фильтр для изменения HTML-кода и аргументов заголовка категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2731
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 строка 2664
wpfd_{$themeName}_category_tree
Фильтр для изменения HTML-кода и аргументов дерева категорий
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 3049
wpfd_{$themeName}_column_created_header_html
Фильтр для изменения HTML-заголовка столбца с датой создания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1057
wpfd_{$themeName}_column_custom_fields_header_html
Фильтр для изменения HTML-заголовка столбца с пользовательскими полями
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1130
wpfd_{$themeName}_column_description_header_html
Фильтр для изменения HTML-заголовка столбца описания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 872app/site/themes/wpfd-table/theme.php строка 906app/site/themes/wpfd-table/theme.php строка 1226
wpfd_{$themeName}_column_description_header_html
Фильтр для изменения HTML-заголовка столбца описания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 872app/site/themes/wpfd-table/theme.php строка 906app/site/themes/wpfd-table/theme.php строка 1226
wpfd_{$themeName}_column_description_header_html
Фильтр для изменения HTML-заголовка столбца описания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 872app/site/themes/wpfd-table/theme.php строка 906app/site/themes/wpfd-table/theme.php строка 1226
wpfd_{$themeName}_column_download_header_html
Фильтр для изменения HTML-заголовка столбца загрузки
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1169
wpfd_{$themeName}_column_hits_header_html
Фильтр для изменения HTML-заголовка столбца "Попадания в сеть"
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1020
wpfd_{$themeName}_column_modified_header_html
Фильтр для изменения HTML-заголовка столбца с датой изменения
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1095
wpfd_{$themeName}_column_size_header_html
Фильтр для изменения размера заголовка HTML-колонки
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 982
wpfd_{$themeName}_column_title_header_html
Фильтр для изменения HTML-заголовка столбца заголовка
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 834
wpfd_{$themeName}_column_version_header_html
Фильтр для изменения HTML-заголовка столбца версии
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 944
wpfd_{$themeName}_content_wrapper
Фильтр для изменения вывода содержимого в оболочке
Параметры:
string Content wrapperobject Current theme object
Return :
string
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 815
wpfd_{$themeName}_content_wrapper_input
Фильтры для вывода скрытого поля ввода под оболочкой контента
Параметры:
string Input htmlobject Current theme object
Return :
string
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 842
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 строка 2241
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 строка 2167
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 строка 1590
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 строка 1539
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 строка 1758
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 строка 1805
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 строка 1134
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 строка 1084
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 строка 1490
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 строка 1439
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 строка 302app/site/themes/templates/wpfd-theme.class.php строка 1846app/site/themes/templates/wpfd-theme.class.php строка 1859app/site/themes/wpfd-preview/theme.php строка 173
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 строка 302app/site/themes/templates/wpfd-theme.class.php строка 1846app/site/themes/templates/wpfd-theme.class.php строка 1859app/site/themes/wpfd-preview/theme.php строка 173
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 строка 409app/site/themes/templates/wpfd-theme.class.php строка 1917
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 строка 1693
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 строка 1639
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 строка 1390
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 строка 1338
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 строка 461app/site/themes/templates/wpfd-theme.class.php строка 2074
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 строка 351app/site/themes/templates/wpfd-theme.class.php строка 1994
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 строка 1289
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 строка 1235
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 строка 2461
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 строка 2323
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 строка 2512
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 строка 2369
Composer
Программная настройка ключа обновления с помощью WP CLI
Используйте тот же ключ, который вы использовали при установке Composer, и выполните эту команду Composer, чтобы установить токен обновления. wp option update ju_user_token "YOUR_TOKEN"
Вот решение для использования наших плагинов в качестве зависимости Composer. Вам необходимо указать репозиторий Joomunited в файле composer.json. Пожалуйста, замените YOUR_TOKEN в URL-адресе на свой собственный токен. Вы можете найти его по адресу