Документация для разработчиков 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 строка 401
wpdf_admin_notices
Действия по составлению уведомления об импорте
Параметры:
none
Return :
void
В файлах:
app/admin/views/config/tpl/ui-default.php строка 50app/admin/views/wpfd/tpl/ui-default.php строка 153app/admin/views/iconsbuilder/tpl/default.php строка 50
wpfd_addon_stream_file_pdf_embed
При чтении PDF-файла непосредственно в облаке происходит активный огонь
Параметры:
integer|string $fileId Cloud file idstring $categoryFrom Category sourcestring $url Url embed
Return :
void
В файлах:
app/site/init.php строка 224
wpfd_addon_update_version_description
После копирования обновите версию и описание действия
Параметры:
string Versionstring Descriptionstring Category fromstring Category TermId
Return :
void
В файлах:
app/admin/controllers/files.php строка 950app/admin/controllers/files.php строка 1043app/admin/controllers/files.php строка 2765app/admin/controllers/files.php строка 1076app/admin/controllers/files.php строка 1382app/admin/controllers/files.php строка 1884app/admin/controllers/files.php строка 3176app/admin/controllers/files.php строка 3667app/admin/controllers/files.php строка 1138app/admin/controllers/files.php строка 2168app/admin/controllers/files.php строка 2842app/admin/controllers/files.php строка 3978app/admin/controllers/files.php строка 1197app/admin/controllers/files.php строка 1321app/admin/controllers/files.php строка 1644app/admin/controllers/files.php строка 2902app/admin/controllers/files.php строка 3043app/admin/controllers/files.php строка 3380app/admin/controllers/files.php строка 1260app/admin/controllers/files.php строка 1764app/admin/controllers/files.php строка 2293app/admin/controllers/files.php строка 2970app/admin/controllers/files.php строка 4108app/admin/controllers/files.php строка 1441app/admin/controllers/files.php строка 1549app/admin/controllers/files.php строка 3105app/admin/controllers/files.php строка 3519app/admin/controllers/files.php строка 1515app/admin/controllers/files.php строка 3262app/admin/controllers/files.php строка 1582app/admin/controllers/files.php строка 1943app/admin/controllers/files.php строка 3593app/admin/controllers/files.php строка 3725app/admin/controllers/files.php строка 1707app/admin/controllers/files.php строка 1823app/admin/controllers/files.php строка 2421app/admin/controllers/files.php строка 2017app/admin/controllers/files.php строка 2094app/admin/controllers/files.php строка 2228app/admin/controllers/files.php строка 2355app/admin/controllers/files.php строка 2484app/admin/controllers/files.php строка 4039app/admin/controllers/files.php строка 4181app/admin/controllers/files.php строка 4323app/admin/controllers/files.php строка 2679app/admin/controllers/files.php строка 3309app/admin/controllers/files.php строка 3446app/admin/controllers/files.php строка 4249app/admin/controllers/files.php строка 3813app/admin/controllers/files.php строка 3845
wpfd_addon_update_version_description
После копирования обновите версию и описание действия
Параметры:
string Versionstring Descriptionstring Category fromstring Category TermId
Return :
void
В файлах:
app/admin/controllers/files.php строка 950app/admin/controllers/files.php строка 1043app/admin/controllers/files.php строка 2765app/admin/controllers/files.php строка 1076app/admin/controllers/files.php строка 1382app/admin/controllers/files.php строка 1884app/admin/controllers/files.php строка 3176app/admin/controllers/files.php строка 3667app/admin/controllers/files.php строка 1138app/admin/controllers/files.php строка 2168app/admin/controllers/files.php строка 2842app/admin/controllers/files.php строка 3978app/admin/controllers/files.php строка 1197app/admin/controllers/files.php строка 1321app/admin/controllers/files.php строка 1644app/admin/controllers/files.php строка 2902app/admin/controllers/files.php строка 3043app/admin/controllers/files.php строка 3380app/admin/controllers/files.php строка 1260app/admin/controllers/files.php строка 1764app/admin/controllers/files.php строка 2293app/admin/controllers/files.php строка 2970app/admin/controllers/files.php строка 4108app/admin/controllers/files.php строка 1441app/admin/controllers/files.php строка 1549app/admin/controllers/files.php строка 3105app/admin/controllers/files.php строка 3519app/admin/controllers/files.php строка 1515app/admin/controllers/files.php строка 3262app/admin/controllers/files.php строка 1582app/admin/controllers/files.php строка 1943app/admin/controllers/files.php строка 3593app/admin/controllers/files.php строка 3725app/admin/controllers/files.php строка 1707app/admin/controllers/files.php строка 1823app/admin/controllers/files.php строка 2421app/admin/controllers/files.php строка 2017app/admin/controllers/files.php строка 2094app/admin/controllers/files.php строка 2228app/admin/controllers/files.php строка 2355app/admin/controllers/files.php строка 2484app/admin/controllers/files.php строка 4039app/admin/controllers/files.php строка 4181app/admin/controllers/files.php строка 4323app/admin/controllers/files.php строка 2679app/admin/controllers/files.php строка 3309app/admin/controllers/files.php строка 3446app/admin/controllers/files.php строка 4249app/admin/controllers/files.php строка 3813app/admin/controllers/files.php строка 3845
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 строка 261
wpfd_after_category_main_settings
Действие выполняется после основных настроек категории в правой панели
Параметры:
integer Current category id
Return :
void
В файлах:
app/admin/views/category/tpl/default.php строка 185
wpfd_after_create_new_category
Действия после создания новой категории
Параметры:
integer New category idstring Category created name
Return :
void
В файлах:
app/admin/controllers/category.php строка 89
wpfd_after_fieldset_category_main_settings
Действие выполняется после выбора поля основных настроек категории в правой панели
Параметры:
integer Current category id
Return :
void
В файлах:
app/admin/views/category/tpl/default.php строка 194
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, строка 891
wpfd_before_category_main_settings
Действие выполняется перед основными настройками категории на правой панели
Параметры:
integer Current category id
Return :
void
В файлах:
app/admin/views/category/tpl/default.php строка 95
wpfd_before_fieldset_category_main_settings
Действие срабатывает перед полем основных настроек категории, заданным в правой панели
Параметры:
integer Current category id
Return :
void
В файлах:
app/admin/views/category/tpl/default.php строка 64
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, строка 879
wpfd_download_file_permission
Действие срабатывает, когда у текущего пользователя недостаточно прав для загрузки этого файла.
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/files.php строка 49app/site/controllers/file.php строка 72
wpfd_download_file_permission
Действие срабатывает, когда у текущего пользователя недостаточно прав для загрузки этого файла.
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/files.php строка 49app/site/controllers/file.php строка 72
wpfd_download_link_expired
Действия для страницы загрузки, срок действия которой истек
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 112
wpfd_file_deleted
Действие срабатывает после удаления файла
Параметры:
array Deleted file infoWP_Term Category the file was deleted fromarray Additional information
Return :
void
В файлах:
app/admin/controllers/file.php строка 963app/admin/controllers/file.php строка 1064app/admin/controllers/file.php строка 1521
wpfd_file_download
Действие запускается непосредственно перед загрузкой файла. Не выводите здесь ничего на экран, иначе загрузка файла будет повреждена
Параметры:
object File idarray Source
Return :
void
В файлах:
app/site/controllers/file.php строка 409app/site/controllers/file.php строка 495app/site/controllers/file.php строка 602app/site/controllers/file.php строка 680app/site/controllers/file.php строка 756app/site/controllers/file.php строка 798app/site/controllers/file.php строка 821app/site/controllers/file.php строка 913
wpfd_file_download
Действие запускается непосредственно перед загрузкой файла. Не выводите здесь ничего на экран, иначе загрузка файла будет повреждена
Параметры:
object File idarray Source
Return :
void
В файлах:
app/site/controllers/file.php строка 409app/site/controllers/file.php строка 495app/site/controllers/file.php строка 602app/site/controllers/file.php строка 680app/site/controllers/file.php строка 756app/site/controllers/file.php строка 798app/site/controllers/file.php строка 821app/site/controllers/file.php строка 913
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 строка 1097
wpfd_generate_preview_after_resize_thumbnail
Файл действий после изменения размера миниатюры
Параметры:
string $fileName Thumbnail file path
Return :
void
В файлах:
app/admin/models/generatepreview.php строка 976
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 строка 1001
wpfd_preview_file_permission
Действие срабатывает, когда у текущего пользователя недостаточно прав для предварительного просмотра этого файла.
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 100app/site/helpers/WpfdHelperShortcodes.php строка 4374
wpfd_preview_file_permission
Действие срабатывает, когда у текущего пользователя недостаточно прав для предварительного просмотра этого файла.
Параметры:
string|integer string|integer integer
Return :
void
В файлах:
app/site/controllers/file.php строка 100app/site/helpers/WpfdHelperShortcodes.php строка 4374
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 строка 438app/admin/models/generatepreview.php строка 584app/admin/models/generatepreview.php строка 788
wpfd_save_category
Действие запускается после сохранения параметров категории
Параметры:
integer Term idarray Category params
Return :
void
В файлах:
файл app/admin/controllers/category.php строка 398
wpfd_save_category_settings_button
Действие выполняется перед кнопкой сохранения категории на правой панели
Параметры:
integer Current category id
Return :
void
В файлах:
app/admin/views/category/tpl/default.php строка 405
wpfd_save_file_params
После сохранения данных файла в базу данных
Параметры:
array File data array
Return :
void
В файлах:
app/admin/models/file.php строка 192
wpfd_update_category_color
Обновить цвет категории
Параметры:
integer Term id to change colorstring New category color
Return :
void
В файлах:
app/admin/controllers/category.php строка 332app/admin/controllers/category.php строка 803app/admin/controllers/category.php строка 944
wpfd_update_category_color
Обновить цвет категории
Параметры:
integer Term id to change colorstring New category color
Return :
void
В файлах:
app/admin/controllers/category.php строка 332app/admin/controllers/category.php строка 803app/admin/controllers/category.php строка 944
wpfd_update_category_color
Обновить цвет категории
Параметры:
integer Term id to change colorstring New category color
Return :
void
В файлах:
app/admin/controllers/category.php строка 332app/admin/controllers/category.php строка 803app/admin/controllers/category.php строка 944
wpfd_update_category_description
После обновления цвета категории
Параметры:
integer Term id to change colorstring New category color
Return :
void
В файлах:
app/admin/controllers/category.php строка 290
wpfd_update_category_name
Обновить название категории
Параметры:
integer Term id to change namestring New category name
Return :
void
В файлах:
app/admin/controllers/category.php строка 133
wpfd_{$themeName}_after_custom_hooks
Боевая стрельба после установки специального крючка
Параметры:
none
Return :
void
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 845
wpfd_{$themeName}_after_template_hooks
Боевой огонь после того, как шаблон был зацеплен
Параметры:
none
Return :
void
В файлах:
app/site/themes/wpfd-ggd/theme.php строка 119app/site/themes/wpfd-preview/theme.php строка 117app/site/themes/templates/wpfd-theme.class.php строка 835app/site/themes/wpfd-tree/theme.php строка 90
wpfd_{$themeName}_after_theme_content
Экшн-печать после тематического контента
Параметры:
object Current theme instancearray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 316app/site/themes/wpfd-preview/tpl.php строка 319app/site/themes/wpfd-default/tpl.php строка 340app/site/themes/wpfd-table/tpl.php строка 298app/site/themes/templates/tpl-default.php строка 219
wpfd_{$themeName}_before_files_loop
Действие запускается перед циклом файлов
Параметры:
object Current theme paramsarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 229app/site/themes/wpfd-preview/tpl.php строка 230app/site/themes/wpfd-default/tpl.php строка 195app/site/themes/wpfd-table/tpl.php строка 146app/site/themes/templates/tpl-default.php строка 139app/site/themes/wpfd-tree/tpl.php строка 221
wpfd_{$themeName}_before_files_loop_handlebars
Действие выполняется перед циклом обработки файлов в шаблоне Handlebars
Параметры:
array Current theme paramsarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 121app/site/themes/wpfd-preview/tpl.php строка 121app/site/themes/wpfd-default/tpl.php строка 47app/site/themes/wpfd-table/tpl.php строка 36app/site/themes/templates/tpl-default.php строка 43
wpfd_{$themeName}_before_template_hooks
Боевая стрельба перед тем, как шаблоны будут зацеплены
Параметры:
none
Return :
void
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 700
wpfd_{$themeName}_before_theme_content
Действие печати перед содержанием темы
Параметры:
object Current theme params
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 101app/site/themes/wpfd-preview/tpl.php строка 101app/site/themes/wpfd-default/tpl.php строка 27app/site/themes/wpfd-table/tpl.php строка 106app/site/themes/templates/tpl-default.php строка 25app/site/themes/wpfd-tree/tpl.php строка 204app/site/themes/wpfd-tree/tpl.php строка 351
wpfd_{$themeName}_buttons
Действие для отображения кнопок
Параметры:
object Current file objectarray Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-default/tpl.php строка 284app/site/themes/wpfd-table/tpl.php строка 237app/site/themes/templates/tpl-default.php строка 198
wpfd_{$themeName}_buttons_handlebars
Шаблон кнопок печати действий на руле
Параметры:
array $config Main configarray $params Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 83app/site/themes/wpfd-preview/tpl.php строка 83app/site/themes/wpfd-default/tpl.php строка 123app/site/themes/wpfd-table/tpl.php строка 84app/site/themes/templates/tpl-default.php строка 101app/site/themes/wpfd-tree/tpl.php строка 84
wpfd_{$themeName}_columns
Действие для отображения столбцов
Параметры:
array Main configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-table/tpl.php строка 173
wpfd_{$themeName}_file_block
Действие для отображения блока файла
Параметры:
object Current file objectarray Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 256app/site/themes/wpfd-preview/tpl.php строка 259
wpfd_{$themeName}_file_block_handlebars
Действие для отображения блока файла в шаблоне Handlebars
Параметры:
array Main configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 154app/site/themes/wpfd-preview/tpl.php строка 156
wpfd_{$themeName}_file_content
Действие для отображения содержимого файла
Параметры:
object Current file objectarray Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-default/tpl.php строка 243app/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-ggd/tpl.php строка 44app/site/themes/wpfd-preview/tpl.php строка 44app/site/themes/wpfd-default/tpl.php строка 83app/site/themes/templates/tpl-default.php строка 65app/site/themes/wpfd-tree/tpl.php строка 45
wpfd_{$themeName}_file_info
Действие для отображения информации о файле
Параметры:
object Current file objectarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-default/tpl.php строка 264app/site/themes/wpfd-table/tpl.php строка 218app/site/themes/templates/tpl-default.php строка 180
wpfd_{$themeName}_file_info_handlebars
Действие для отображения информации о файле в шаблоне Handlebars
Параметры:
array Global configarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 65app/site/themes/wpfd-preview/tpl.php строка 65app/site/themes/wpfd-default/tpl.php строка 104app/site/themes/wpfd-table/tpl.php строка 64app/site/themes/templates/tpl-default.php строка 84app/site/themes/wpfd-tree/tpl.php строка 66
wpfd_{$themeName}_folder_tree
дерево папок для печати действий
Параметры:
object Current theme paramsarray Category config
Return :
void
В файлах:
app/site/themes/wpfd-ggd/tpl.php строка 209app/site/themes/wpfd-preview/tpl.php строка 210app/site/themes/wpfd-default/tpl.php строка 175app/site/themes/wpfd-table/tpl.php строка 126app/site/themes/templates/tpl-default.php строка 122
_wpfd_preview_generate_queue_running_updating
Фильтры для обновления очереди предварительного просмотра
Параметры:
none
Return :
boolean
В файлах:
app/admin/views/config/view.php строка 225
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 строка 383
the_content_export
Фильтрует содержимое поста, используемое для экспорта в WXR.
Параметры:
string $post_content Content of the current post.
Return :
void
В файлах:
файл app/admin/controllers/config.php, строка 1011
the_excerpt_export
Фильтрует фрагмент текста, используемый для экспорта в WXR.
Параметры:
string $post_excerpt Excerpt for the current post.
Return :
void
В файлах:
файл app/admin/controllers/config.php, строка 1021
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 строка 368
wpfd_
Дополнительные классы для таблицы
Параметры:
array
Return :
void
В файлах:
app/site/themes/wpfd-table/theme.php строка 219
wpfd_abs_path_to_url
Фильтр для изменения конечного URL
Параметры:
string
Return :
void
В файлах:
файл app/functions.php, строка 1181
wpfd_addon_locker_mail_subscribe
Фильтр для подписки на почтовый ящик
Параметры:
none
Return :
array
В файлах:
app/site/controllers/files.php строка 640
wpfd_ajax_allowed_tasks
Фильтрация задач, предоставляемых через аутентифицированный AJAX-диспетчер WPFD.
Параметры:
array $allowedTasks Allowed controller tasks.
Return :
void
В файлах:
app/admin/init.php строка 389
wpfd_always_generate_breadcrumbs
Фильтр для автоматического создания хлебных крошек по умолчанию
Параметры:
boolean
Return :
void
В файлах:
app/site/models/categoryfront.php строка 58
wpfd_auto_create_private_folders
Фильтр для автоматического создания приватной папки
Параметры:
boolean
Return :
boolean
В файлах:
app/admin/init.php строка 1633app/admin/init.php строка 1799
wpfd_auto_create_private_folders
Фильтр для автоматического создания приватной папки
Параметры:
boolean
Return :
boolean
В файлах:
app/admin/init.php строка 1633app/admin/init.php строка 1799
wpfd_automatic_revision
Фильтр позволяет изменять автоматическую редакцию
Параметры:
string array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4646
wpfd_automatic_revision_date_format
Фильтр позволяет изменять формат даты в автоматическом версионировании
Параметры:
string array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4608
wpfd_automatic_revision_enabled
Фильтр позволяет включить автоматическую версию
Параметры:
boolean array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4562
wpfd_automatic_revision_increment_replacement
Фильтр позволяет изменить замену для автоматической версии
Параметры:
string array
Return :
void
В файлах:
app/admin/controllers/files.php строка 4629
wpfd_automatic_revision_pattern
Фильтр позволяет изменить шаблон автоматической версии
Параметры:
string array
Return :
void
В файлах:
файл app/admin/controllers/files.php строка 4575
wpfd_back_button_handlebars
Глобальный фильтр для изменения HTML-кода и аргументов панели инструментов кнопки "Назад"
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2786
wpfd_before_save_category
Перед сохранением в базу данных выполните фильтрацию по параметрам категории
Параметры:
array Category paramsinteger Term id
Return :
array
В файлах:
app/admin/controllers/category.php строка 388
wpfd_before_save_file_metadata
Фильтр позволяет изменять метаданные файла перед сохранением в базу данных
Параметры:
array File meta data array
Return :
array
В файлах:
app/admin/models/file.php строка 182
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 строка 323
wpfd_before_update_category_description
Описание категории обновления фильтра
Параметры:
string New category descriptioninteger Term id to change name
Return :
string|boolean
В файлах:
app/admin/controllers/category.php строка 277
wpfd_before_update_category_name
Название категории обновления фильтра
Параметры:
string New category nameinteger Term id to change name
Return :
string|boolean
В файлах:
app/admin/controllers/category.php строка 125
wpfd_before_upload_file
Фильтр перед загрузкой файла
Параметры:
array File datainteger Current user id
Return :
array
В файлах:
app/admin/models/files.php строка 1416
wpfd_can_access_plugin_cache_ttl
Используйте фильтр для изменения времени жизни кэша для этой проверки.
Параметры:
integer
Return :
void
В файлах:
app/admin/helpers/WpfdHelperFolder.php строка 483
wpfd_can_access_plugin_timeout
Используйте фильтр для изменения времени ожидания HTTP-запроса.
Параметры:
integer
Return :
void
В файлах:
app/admin/helpers/WpfdHelperFolder.php строка 490
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 строка 2955
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 строка 3063
wpfd_category_loading_message
Фильтры позволяют включить сообщение о загрузке категории
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2319app/site/themes/templates/wpfd-theme.class.php строка 549
wpfd_category_loading_message
Фильтры позволяют включить сообщение о загрузке категории
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2319app/site/themes/templates/wpfd-theme.class.php строка 549
wpfd_category_title
Глобальный фильтр для изменения HTML-кода и аргументов заголовка категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2908
wpfd_category_title_handlebars
Глобальный фильтр для изменения HTML-кода и аргументов заголовка категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2841
wpfd_category_tree
Глобальный фильтр для изменения HTML-кода и аргументов дерева категорий
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 3226
wpfd_category_tree_click_scroll_up
Фильтр позволяет при нажатии на дерево категорий автоматически прокручивать страницу вверх до нужного элемента
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2346app/site/themes/templates/wpfd-theme.class.php строка 576
wpfd_category_tree_click_scroll_up
Фильтр позволяет при нажатии на дерево категорий автоматически прокручивать страницу вверх до нужного элемента
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2346app/site/themes/templates/wpfd-theme.class.php строка 576
wpfd_category_tree_expanded
Фильтры позволяют разворачивать дерево категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2328app/site/themes/templates/wpfd-theme.class.php строка 558
wpfd_category_tree_expanded
Фильтры позволяют разворачивать дерево категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2328app/site/themes/templates/wpfd-theme.class.php строка 558
wpfd_category_tree_parent_expanded
Фильтры позволяют развернуть родительский элемент дерева категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2337app/site/themes/templates/wpfd-theme.class.php строка 567
wpfd_category_tree_parent_expanded
Фильтры позволяют развернуть родительский элемент дерева категорий на внешнем интерфейсе
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2337app/site/themes/templates/wpfd-theme.class.php строка 567
wpfd_check_special_char_editing
Фильтр для проверки специальных символов при редактировании
Параметры:
boolean
Return :
void
В файлах:
app/admin/init.php строка 689
wpfd_clean_interval
Фильтр для изменения времени очистки мусора переопределит константу WPFD_CLEAN_INTERVAL
Параметры:
$interval Time in second
Return :
void
В файлах:
файл app/functions.php, строка 1911
wpfd_custom_zip_folder_on_server
Фильтр для настройки параметров загрузки папки zip
Параметры:
boolean
Return :
void
В файлах:
app/site/controllers/files.php строка 67
wpfd_default_category_params
Фильтры позволяют задать параметры по умолчанию для новой категории
Параметры:
array Default values: order, orderby, roles, private
Return :
array
В файлах:
app/site/models/categoryfront.php строка 96app/site/models/categoriesfront.php строка 565app/admin/models/category.php строка 477
wpfd_default_category_visibility
Фильтры позволяют настроить видимость по умолчанию
Параметры:
array Default values: roles, private
Return :
array
В файлах:
файл app/functions.php, строка 2784
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 строка 2417
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 строка 2343
wpfd_file_info
Информация о файле отображается спереди
Параметры:
object File object
Return :
object
В файлах:
app/site/models/filefront.php строка 583app/site/models/filefront.php строка 659app/site/models/filesfront.php строка 660
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 строка 1688
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 строка 1637
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 строка 1855
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 строка 1903
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 строка 1232
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 строка 1183
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 строка 1588
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 строка 1537
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 строка 2014
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 строка 1790
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 строка 1737
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 строка 1488
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 строка 1437
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 строка 2242
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 строка 2116
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 строка 1387
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 строка 1334
wpfd_file_large_size_custom_icon
Фильтр для выбора пользовательской иконки для файлов большого размера
Параметры:
boolean
Return :
void
В файлах:
app/admin/init.php строка 596
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 строка 4709app/functions.php строка 4770app/functions.php строка 4812
wpfd_file_marker_life_time
Фильтрация по истекшему времени
Параметры:
integer Expired time
Return :
void
В файлах:
app/functions.php строка 4709app/functions.php строка 4770app/functions.php строка 4812
wpfd_file_marker_life_time
Фильтрация по истекшему времени
Параметры:
integer Expired time
Return :
void
В файлах:
app/functions.php строка 4709app/functions.php строка 4770app/functions.php строка 4812
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 строка 2637
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 строка 2500
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 строка 2688
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 строка 2546
wpfd_file_replace_download_with_preview
Фильтр позволяет изменить ссылку для скачивания файла, если отключено всплывающее окно загрузки
Параметры:
boolean
Return :
void
В файлах:
app/site/themes/wpfd-ggd/theme.php строка 185app/site/themes/wpfd-ggd/theme.php строка 270app/site/themes/wpfd-preview/theme.php строка 223app/site/themes/wpfd-preview/theme.php строка 310app/site/themes/wpfd-tree/tpl.php строка 20
wpfd_file_title
Фильтр для изменения названия файла
Параметры:
string File titleinteger File id
Return :
string
В файлах:
app/site/models/filefront.php строка 125app/site/models/filefront.php строка 624app/site/models/filefront.php строка 465app/site/models/filesfront.php строка 241app/site/models/filesfront.php строка 404
wpfd_file_title_open_file_in_new_tab
Фильтры позволяют открывать файл в новой вкладке при нажатии на название файла
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2355app/site/themes/templates/wpfd-theme.class.php строка 585
wpfd_file_title_open_file_in_new_tab
Фильтры позволяют открывать файл в новой вкладке при нажатии на название файла
Параметры:
boolean
Return :
boolean
В файлах:
app/functions.php строка 2355app/site/themes/templates/wpfd-theme.class.php строка 585
wpfd_force_generate_FTP_file_preview
Фильтр для принудительного предварительного просмотра и создания миниатюр
Параметры:
none
Return :
boolean
В файлах:
файл app/admin/controllers/config.php, строка 2051
wpfd_generate_preview_page_number
Максимальное количество страниц при создании изображения предварительного просмотра
Параметры:
integer
Return :
void
В файлах:
app/admin/models/generatepreview.php строка 415app/admin/models/generatepreview.php строка 753
wpfd_generate_preview_queue_interval
Фильтр для изменения интервала генерации предварительного просмотра; это переопределит константу WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL
Параметры:
$interval Time in second
Return :
void
В файлах:
app/functions.php строка 2737
wpfd_generate_preview_url
Фильтр для генерации URL-адреса предварительного просмотра
Параметры:
boolean Generate preview urlstring File idstring Category idstring Token
Return :
boolean
В файлах:
app/site/helpers/WpfdHelperFile.php строка 217
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 строка 885
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, строка 1018
wpfd_get_template
Разрешить фильтр сторонних плагинов
Параметры:
string Template pathstring Template namearray Template variablesstring Template path dirstring Default path dir
Return :
string
В файлах:
файл app/functions.php, строка 869
wpfd_html_request_method
Фильтр для изменения метода запроса
Параметры:
boolean
Return :
void
В файлах:
app/admin/helpers/WpfdHelperFolder.php строка 469
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, строка 831
wpfd_locate_theme
Фильтрация по найденному пути шаблона
Параметры:
string Template pathstring Template namestring Template path dir
Return :
void
В файлах:
файл app/functions.php, строка 956
wpfd_not_authorized_redirect_url
Фильтр для перенаправления пользователя, если у него нет разрешения на предварительный просмотр текущего файла
Параметры:
string
Return :
void
В файлах:
app/site/controllers/file.php строка 84app/site/controllers/file.php строка 290
wpfd_not_authorized_redirect_url
Фильтр для перенаправления пользователя, если у него нет разрешения на загрузку текущего файла
Параметры:
string
Return :
void
В файлах:
app/site/controllers/file.php строка 84app/site/controllers/file.php строка 290
wpfd_password_expires
Фильтрует срок действия cookie-файла с паролем. По умолчанию cookie-файл истекает через 10 дней с момента создания. Чтобы преобразовать его в сессионный cookie-файл, верните 0.
Параметры:
int $expires The expiry time, as passed to setcookie().
Return :
void
В файлах:
app/site/controllers/file.php строка 1411
wpfd_password_form
Фильтрует HTML-вывод для защищенной формы ввода пароля. При изменении поля пароля обратите внимание, что основная схема базы данных ограничивает длину поля пароля 20 символами независимо от значения атрибута size в поле ввода формы.
Параметры:
string $output The password form HTML output.WP_Post $object Object.
Return :
void
В файлах:
файл app/functions.php, строка 3611
wpfd_preview_files_dir
Фильтр для изменения каталога предварительного просмотра документа
Параметры:
string
Return :
void
В файлах:
app/admin/classes/WpfdBase.php строка 148
wpfd_preview_service_url
Отфильтруйте данные, чтобы изменить URL-адрес сервиса предварительного просмотра
Параметры:
string Preview url with %s placeholder for url
Return :
string
В файлах:
app/site/helpers/WpfdHelperFile.php строка 235
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 строка 246
wpfd_real_abs_path
Фильтр для исправления неправильного пути ABSPATH на некоторых хостингах/серверах
Параметры:
string
Return :
void
В файлах:
app/functions.php строка 1159
wpfd_remove_download_zip_file_from_server
Фильтр для удаления ZIP-файла с сервера
Параметры:
boolean
Return :
void
В файлах:
app/site/controllers/files.php строка 114
wpfd_remove_expired_preview_file_time
Фильтр для установки времени по умолчанию, по истечении которого удаляются файлы предварительного просмотра с истекшим сроком действия
Параметры:
integer|mixed
Return :
void
В файлах:
app/admin/init.php строка 1444
wpfd_request_ssl_verify
Фильтр для включения проверки SSL
Параметры:
boolean
Return :
void
В файлах:
app/admin/helpers/WpfdHelperFolder.php строка 476
wpfd_search_login_required
Фильтр для проверки авторизации при поиске файлов
Параметры:
none
Return :
boolean
В файлах:
app/site/helpers/WpfdHelperShortcodes.php строка 2372
wpfd_search_results
Фильтры для результатов поиска
Параметры:
array Files resultsarray Search filters
Return :
array
В файлах:
app/site/models/search.php строка 631
wpfd_search_results_file_title_length
Разрешить изменение длины файла в результатах поиска
Параметры:
integer
Return :
void
В файлах:
app/site/models/search.php строка 974
wpfd_search_results_order
Направление сортировки результатов поиска
Параметры:
string
Return :
void
В файлах:
app/site/models/search.php строка 275
wpfd_search_results_orderby
Результаты поиска отсортированы по
Параметры:
string
Return :
void
В файлах:
app/site/models/search.php строка 268
wpfd_search_results_orderby_relevance
Используйте фильтр для сортировки файлов по релевантности ключевых слов.
Параметры:
boolean
Return :
boolean
В файлах:
app/site/views/search/view.php строка 285
wpfd_search_tags_relation
Фильтр позволяет изменять взаимосвязь тегов
Параметры:
string
Return :
void
В файлах:
app/site/models/search.php строка 156app/admin/models/files.php строка 449
wpfd_search_tags_relation
Фильтр позволяет изменять взаимосвязь тегов
Параметры:
string
Return :
void
В файлах:
app/site/models/search.php строка 156app/admin/models/files.php строка 449
wpfd_selected_file
Фильтр выбранного файла для загрузки
Параметры:
array
Return :
void
В файлах:
app/site/controllers/files.php строка 456app/site/controllers/files.php строка 734
wpfd_selected_file
Фильтр выбранного файла для загрузки
Параметры:
array
Return :
void
В файлах:
app/site/controllers/files.php строка 456app/site/controllers/files.php строка 734
wpfd_selected_files
Фильтр для файлов, выбранных для загрузки
Параметры:
array
Return :
void
В файлах:
app/site/controllers/files.php строка 107
wpfd_show_upload_form_reverse
Фильтр для изменения формы загрузки
Параметры:
boolean
Return :
void
В файлах:
app/site/views/files/view.php строка 491app/site/themes/wpfd-ggd/tpl.php строка 282app/site/themes/wpfd-preview/tpl.php строка 285app/site/themes/wpfd-default/tpl.php строка 306app/site/themes/wpfd-table/tpl.php строка 259app/site/themes/wpfd-tree/tpl.php строка 320
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/functions.php строка 1889app/site/models/tokens.php строка 123app/site/models/tokens.php строка 170
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 строка 113
wpfd_user_can
Фильтр проверяет возможность текущего пользователя редактировать настройки разрешений
Параметры:
boolean The current user has the given capabilitystring Action name
Return :
boolean
В файлах:
app/functions.php строка 1198app/functions.php строка 1215app/functions.php строка 1259app/functions.php строка 1279app/functions.php строка 1299app/functions.php строка 1319app/functions.php строка 1369app/functions.php строка 1419app/admin/classes/install-wizard/install-wizard.php строка 59jutranslation/jutranslation.php строка 100
wpfd_user_can
Проверка возможности текущего пользователя управлять файлами с помощью фильтра
Параметры:
boolean The current user has the given capabilitystring Action name
Return :
boolean
В файлах:
app/functions.php строка 1198app/functions.php строка 1215app/functions.php строка 1259app/functions.php строка 1279app/functions.php строка 1299app/functions.php строка 1319app/functions.php строка 1369app/functions.php строка 1419app/admin/classes/install-wizard/install-wizard.php строка 59jutranslation/jutranslation.php строка 100
wpfd_wc_validate_required_fields
Отфильтруйте данные для проверки обязательных полей
Параметры:
boolean
Return :
void
В файлах:
app/admin/init.php строка 696
wpfd_wpml_download_language
Фильтр для настройки языков загрузки
Параметры:
boolean
Return :
void
В файлах:
app/site/models/filefront.php строка 533app/site/models/filesfront.php строка 338
wpfd_wpml_download_language
Фильтр для настройки языков загрузки
Параметры:
boolean
Return :
void
В файлах:
app/site/models/filefront.php строка 533app/site/models/filesfront.php строка 338
wpfd_you_dont_have_permission_redirect_url
Фильтр для перенаправления пользователя, если у него нет разрешения на загрузку текущего файла
Параметры:
string
Return :
void
В файлах:
app/site/controllers/file.php строка 269
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 строка 2799
wpfd_{$themeName}_category_description
Фильтр для изменения HTML-кода и аргументов описания категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 3002app/site/themes/templates/wpfd-theme.class.php строка 3015
wpfd_{$themeName}_category_description
Глобальный фильтр для изменения HTML-кода и аргументов описания категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 3002app/site/themes/templates/wpfd-theme.class.php строка 3015
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 строка 2968
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 строка 3168app/site/themes/templates/wpfd-theme.class.php строка 3182
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 строка 3168app/site/themes/templates/wpfd-theme.class.php строка 3182
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 строка 3076
wpfd_{$themeName}_category_title
Фильтр для изменения HTML-кода и аргументов заголовка категории
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 2921
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 строка 2854
wpfd_{$themeName}_category_tree
Фильтр для изменения HTML-кода и аргументов дерева категорий
Параметры:
array Template arrayobject Current theme objectarray Current category config
Return :
array
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 3239
wpfd_{$themeName}_column_created_header_html
Фильтр для изменения HTML-заголовка столбца с датой создания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1100
wpfd_{$themeName}_column_custom_fields_header_html
Фильтр для изменения HTML-заголовка столбца с пользовательскими полями
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1173
wpfd_{$themeName}_column_description_header_html
Фильтр для изменения HTML-заголовка столбца описания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 915app/site/themes/wpfd-table/theme.php строка 949app/site/themes/wpfd-table/theme.php строка 1303
wpfd_{$themeName}_column_description_header_html
Фильтр для изменения HTML-заголовка столбца описания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 915app/site/themes/wpfd-table/theme.php строка 949app/site/themes/wpfd-table/theme.php строка 1303
wpfd_{$themeName}_column_description_header_html
Фильтр для изменения HTML-заголовка столбца описания
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 915app/site/themes/wpfd-table/theme.php строка 949app/site/themes/wpfd-table/theme.php строка 1303
wpfd_{$themeName}_column_download_header_html
Фильтр для изменения HTML-заголовка столбца загрузки
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1212
wpfd_{$themeName}_column_hits_header_html
Фильтр для изменения HTML-заголовка столбца "Попадания в сеть"
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1063
wpfd_{$themeName}_column_media_menu_header_html
Фильтр для изменения HTML-заголовка столбца меню мультимедиа
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1246
wpfd_{$themeName}_column_modified_header_html
Фильтр для изменения HTML-заголовка столбца с датой изменения
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1138
wpfd_{$themeName}_column_size_header_html
Фильтр для изменения размера заголовка HTML-колонки
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 1025
wpfd_{$themeName}_column_title_header_html
Фильтр для изменения HTML-заголовка столбца заголовка
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 877
wpfd_{$themeName}_column_version_header_html
Фильтр для изменения HTML-заголовка столбца версии
Параметры:
string Header html
Return :
string
В файлах:
app/site/themes/wpfd-table/theme.php строка 987
wpfd_{$themeName}_content_wrapper
Фильтр для изменения вывода содержимого в оболочке
Параметры:
string Content wrapperobject Current theme object
Return :
string
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 901
wpfd_{$themeName}_content_wrapper_input
Фильтры для вывода скрытого поля ввода под оболочкой контента
Параметры:
string Input htmlobject Current theme object
Return :
string
В файлах:
app/site/themes/templates/wpfd-theme.class.php строка 928
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 строка 2431
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 строка 2356
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 строка 1701
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 строка 1650
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 строка 1869
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 строка 1916
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 строка 1245
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 строка 1195
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 строка 1601
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 строка 1550
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-preview/theme.php строка 175app/site/themes/wpfd-table/theme.php строка 319app/site/themes/templates/wpfd-theme.class.php строка 1957app/site/themes/templates/wpfd-theme.class.php строка 1970
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-preview/theme.php строка 175app/site/themes/wpfd-table/theme.php строка 319app/site/themes/templates/wpfd-theme.class.php строка 1957app/site/themes/templates/wpfd-theme.class.php строка 1970
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 строка 438app/site/themes/templates/wpfd-theme.class.php строка 2028
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 строка 1804
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 строка 1750
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 строка 1501
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 строка 1449
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 строка 504app/site/themes/templates/wpfd-theme.class.php строка 2256
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 строка 380app/site/themes/templates/wpfd-theme.class.php строка 2129
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 строка 1400
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 строка 1346
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 строка 2651
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 строка 2513
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 строка 2702
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 строка 2559
Composer
Программная настройка ключа обновления с помощью WP CLI
Используйте тот же ключ, который вы использовали при установке Composer, и выполните эту команду Composer, чтобы установить токен обновления. wp option update ju_user_token "YOUR_TOKEN"
Вот решение для использования наших плагинов в качестве зависимости Composer. Вам необходимо указать репозиторий Joomunited в файле composer.json. Пожалуйста, замените YOUR_TOKEN в URL-адресе на свой собственный токен. Вы можете найти его по адресу