Skip to main content

WP File Download Developer Documentation

This documentation will help experienced developers to plug any other service with our plugin. Here are all actions and filters for this plugin, if you need some more, feel free to ask by using this for dedicated forum. Thanks for using our plugin!

import_term_meta

Fires after term meta is imported.

Parameters :

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

Return :

void

In files :

app/admin/classes/import/class-wp-import.php line 408

wpdf_admin_notices

Action to write import notice

Parameters :

none

Return :

void

In files :

app/admin/views/iconsbuilder/tpl/default.php line 40app/admin/views/config/tpl/ui-default.php line 38app/admin/views/wpfd/tpl/ui-default.php line 152

wpfd_addon_update_version_description

Action update version and description after coping

Parameters :

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

In files :

app/admin/controllers/files.php line 825app/admin/controllers/files.php line 919app/admin/controllers/files.php line 2629app/admin/controllers/files.php line 952app/admin/controllers/files.php line 1264app/admin/controllers/files.php line 1771app/admin/controllers/files.php line 3043app/admin/controllers/files.php line 3535app/admin/controllers/files.php line 1017app/admin/controllers/files.php line 2057app/admin/controllers/files.php line 2707app/admin/controllers/files.php line 3847app/admin/controllers/files.php line 1076app/admin/controllers/files.php line 1203app/admin/controllers/files.php line 1530app/admin/controllers/files.php line 2768app/admin/controllers/files.php line 2910app/admin/controllers/files.php line 3247app/admin/controllers/files.php line 1140app/admin/controllers/files.php line 1651app/admin/controllers/files.php line 2182app/admin/controllers/files.php line 2837app/admin/controllers/files.php line 3977app/admin/controllers/files.php line 1323app/admin/controllers/files.php line 1433app/admin/controllers/files.php line 2971app/admin/controllers/files.php line 3387app/admin/controllers/files.php line 1399app/admin/controllers/files.php line 3129app/admin/controllers/files.php line 1466app/admin/controllers/files.php line 1830app/admin/controllers/files.php line 3461app/admin/controllers/files.php line 3593app/admin/controllers/files.php line 1594app/admin/controllers/files.php line 1710app/admin/controllers/files.php line 2312app/admin/controllers/files.php line 1905app/admin/controllers/files.php line 1983app/admin/controllers/files.php line 2117app/admin/controllers/files.php line 2246app/admin/controllers/files.php line 2375app/admin/controllers/files.php line 3908app/admin/controllers/files.php line 4050app/admin/controllers/files.php line 4191app/admin/controllers/files.php line 2542app/admin/controllers/files.php line 3176app/admin/controllers/files.php line 3314app/admin/controllers/files.php line 4117app/admin/controllers/files.php line 3681app/admin/controllers/files.php line 3713

wpfd_addon_update_version_description

Action update version and description after copy

Parameters :

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

In files :

app/admin/controllers/files.php line 825app/admin/controllers/files.php line 919app/admin/controllers/files.php line 2629app/admin/controllers/files.php line 952app/admin/controllers/files.php line 1264app/admin/controllers/files.php line 1771app/admin/controllers/files.php line 3043app/admin/controllers/files.php line 3535app/admin/controllers/files.php line 1017app/admin/controllers/files.php line 2057app/admin/controllers/files.php line 2707app/admin/controllers/files.php line 3847app/admin/controllers/files.php line 1076app/admin/controllers/files.php line 1203app/admin/controllers/files.php line 1530app/admin/controllers/files.php line 2768app/admin/controllers/files.php line 2910app/admin/controllers/files.php line 3247app/admin/controllers/files.php line 1140app/admin/controllers/files.php line 1651app/admin/controllers/files.php line 2182app/admin/controllers/files.php line 2837app/admin/controllers/files.php line 3977app/admin/controllers/files.php line 1323app/admin/controllers/files.php line 1433app/admin/controllers/files.php line 2971app/admin/controllers/files.php line 3387app/admin/controllers/files.php line 1399app/admin/controllers/files.php line 3129app/admin/controllers/files.php line 1466app/admin/controllers/files.php line 1830app/admin/controllers/files.php line 3461app/admin/controllers/files.php line 3593app/admin/controllers/files.php line 1594app/admin/controllers/files.php line 1710app/admin/controllers/files.php line 2312app/admin/controllers/files.php line 1905app/admin/controllers/files.php line 1983app/admin/controllers/files.php line 2117app/admin/controllers/files.php line 2246app/admin/controllers/files.php line 2375app/admin/controllers/files.php line 3908app/admin/controllers/files.php line 4050app/admin/controllers/files.php line 4191app/admin/controllers/files.php line 2542app/admin/controllers/files.php line 3176app/admin/controllers/files.php line 3314app/admin/controllers/files.php line 4117app/admin/controllers/files.php line 3681app/admin/controllers/files.php line 3713

wpfd_admin_after_file_title_field

Action thrown after title field

Parameters :

string Current file information

Return :

void

In files :

app/admin/forms/file.xml line 60

wpfd_after_bottom_file_save_settings

Action thrown after bottom file save settings button

Parameters :

string Current file information

Return :

void

In files :

app/admin/forms/file.xml line 245

wpfd_after_category_main_settings

Action fire after category main settings in right panel

Parameters :

integer Current category id

Return :

void

In files :

app/admin/views/category/tpl/default.php line 166

wpfd_after_create_new_category

Action after new category created

Parameters :

integer New category idstring Category created name

Return :

void

In files :

app/admin/controllers/category.php line 78

wpfd_after_fieldset_category_main_settings

Action fire after category main settings fieldset in right panel

Parameters :

integer Current category id

Return :

void

In files :

app/admin/views/category/tpl/default.php line 175

wpfd_after_file_main_settings

Action thrown after all file settings inputs have been echoed

Parameters :

string Current file information

Return :

void

In files :

app/admin/forms/file.xml line 225

wpfd_after_single_file_info

Action fire after file info in single file display

Parameters :

object File object

Return :

void

In files :

app/site/themes/templates/tpl-single.php line 75

wpfd_after_template_part

Action fire after a template part called

Parameters :

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

In files :

app/functions.php line 892

wpfd_before_category_main_settings

Action fire before category main settings in right panel

Parameters :

integer Current category id

Return :

void

In files :

app/admin/views/category/tpl/default.php line 92

wpfd_before_fieldset_category_main_settings

Action fire before category main settings field set in right panel

Parameters :

integer Current category id

Return :

void

In files :

app/admin/views/category/tpl/default.php line 61

wpfd_before_index_remove

Action fire before an index remove

Parameters :

integer Post id

Return :

void

In files :

app/admin/models/fts.php line 1090

wpfd_before_single_file_info

Action fire before file info in single file display

Parameters :

object File object

Return :

void

In files :

app/site/themes/templates/tpl-single.php line 59

wpfd_before_template_part

Action fire before a template part called

Parameters :

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

In files :

app/functions.php line 880

wpfd_download_file_permission

Action fire when current user not enough permission to download this file.

Parameters :

string|integer string|integer integer

Return :

void

In files :

app/site/controllers/file.php line 62app/site/init.php line 896

wpfd_download_file_permission

Action fire when current user not enough permission to download this file.

Parameters :

string|integer string|integer integer

Return :

void

In files :

app/site/controllers/file.php line 62app/site/init.php line 896

wpfd_download_link_expired

Action for the expired download page

Parameters :

string|integer string|integer integer

Return :

void

In files :

app/site/controllers/file.php line 85app/site/init.php line 919

wpfd_download_link_expired

Action for the expired download page

Parameters :

string|integer string|integer integer

Return :

void

In files :

app/site/controllers/file.php line 85app/site/init.php line 919

wpfd_file_deleted

Action fire after a file deleted

Parameters :

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

Return :

void

In files :

app/admin/controllers/file.php line 710app/admin/controllers/file.php line 781

wpfd_file_download

Action fire right before a file download.Do not echo anything here or file download will corrupt

Parameters :

object File idarray Source

Return :

void

In files :

app/site/controllers/file.php line 366app/site/controllers/file.php line 452app/site/controllers/file.php line 560app/site/controllers/file.php line 638app/site/controllers/file.php line 714app/site/controllers/file.php line 756app/site/controllers/file.php line 779app/site/controllers/file.php line 865app/site/init.php line 1183app/site/init.php line 1288app/site/init.php line 1419app/site/init.php line 1514app/site/init.php line 1605app/site/init.php line 1798

wpfd_file_download

Action fire right before a file download.Do not echo anything here or file download will corrupt

Parameters :

object File idarray Source

Return :

void

In files :

app/site/controllers/file.php line 366app/site/controllers/file.php line 452app/site/controllers/file.php line 560app/site/controllers/file.php line 638app/site/controllers/file.php line 714app/site/controllers/file.php line 756app/site/controllers/file.php line 779app/site/controllers/file.php line 865app/site/init.php line 1183app/site/init.php line 1288app/site/init.php line 1419app/site/init.php line 1514app/site/init.php line 1605app/site/init.php line 1798

wpfd_file_download

Action fire right before a file download.Do not echo anything here or file download will corrupt

Parameters :

object File idarray Source

Return :

void

In files :

app/site/controllers/file.php line 366app/site/controllers/file.php line 452app/site/controllers/file.php line 560app/site/controllers/file.php line 638app/site/controllers/file.php line 714app/site/controllers/file.php line 756app/site/controllers/file.php line 779app/site/controllers/file.php line 865app/site/init.php line 1183app/site/init.php line 1288app/site/init.php line 1419app/site/init.php line 1514app/site/init.php line 1605app/site/init.php line 1798

wpfd_file_download

Action fire right before a file download.Do not echo anything here or file download will corrupt

Parameters :

object File idarray Source

Return :

void

In files :

app/site/controllers/file.php line 366app/site/controllers/file.php line 452app/site/controllers/file.php line 560app/site/controllers/file.php line 638app/site/controllers/file.php line 714app/site/controllers/file.php line 756app/site/controllers/file.php line 779app/site/controllers/file.php line 865app/site/init.php line 1183app/site/init.php line 1288app/site/init.php line 1419app/site/init.php line 1514app/site/init.php line 1605app/site/init.php line 1798

wpfd_file_indexed

Action fire after file indexed

Parameters :

integer Inserted post idarray Post content to index

Return :

void

In files :

app/admin/models/fts.php line 1192

wpfd_file_uploaded

Action fire after file uploaded

Parameters :

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

Return :

void

In files :

app/admin/models/files.php line 1397

wpfd_generate_preview_after_merge_image_vertical

Action fire after merge image vertical

Parameters :

string $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model

Return :

void

In files :

app/admin/models/generatepreview.php line 1074

wpfd_generate_preview_after_resize_thumbnail

Action file after thumbnail resized

Parameters :

string $fileName Thumbnail file path

Return :

void

In files :

app/admin/models/generatepreview.php line 953

wpfd_generate_preview_before_merge_image_vertical

Action fire before merge image vertical

Parameters :

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

Return :

void

In files :

app/admin/models/generatepreview.php line 978

wpfd_preview_file_permission

Action fire when current user not enough permission to preview this file.

Parameters :

string|integer string|integer integer

Return :

void

In files :

app/site/controllers/file.php line 74app/site/init.php line 908

wpfd_preview_file_permission

Action fire when current user not enough permission to preview this file.

Parameters :

string|integer string|integer integer

Return :

void

In files :

app/site/controllers/file.php line 74app/site/init.php line 908

wpfd_preview_generated

Action fire after thumbnail/preview saved

Parameters :

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

Return :

void

In files :

app/admin/models/generatepreview.php line 432app/admin/models/generatepreview.php line 578app/admin/models/generatepreview.php line 760

wpfd_save_category

Action fire after save category parameters

Parameters :

integer Term idarray Category params

Return :

void

In files :

app/admin/controllers/category.php line 341

wpfd_save_category_settings_button

Action fire before category save button in right panel

Parameters :

integer Current category id

Return :

void

In files :

app/admin/views/category/tpl/default.php line 380

wpfd_save_file_params

After file data was saved to database

Parameters :

array File data array

Return :

void

In files :

app/admin/models/file.php line 187

wpfd_update_category_color

Update category color

Parameters :

integer Term id to change colorstring New category color

Return :

void

In files :

app/admin/controllers/category.php line 297app/admin/controllers/category.php line 708app/admin/controllers/category.php line 849

wpfd_update_category_color

Update category color

Parameters :

integer Term id to change colorstring New category color

Return :

void

In files :

app/admin/controllers/category.php line 297app/admin/controllers/category.php line 708app/admin/controllers/category.php line 849

wpfd_update_category_color

Update category color

Parameters :

integer Term id to change colorstring New category color

Return :

void

In files :

app/admin/controllers/category.php line 297app/admin/controllers/category.php line 708app/admin/controllers/category.php line 849

wpfd_update_category_description

After update category color

Parameters :

integer Term id to change colorstring New category color

Return :

void

In files :

app/admin/controllers/category.php line 263

wpfd_update_category_name

Update category name

Parameters :

integer Term id to change namestring New category name

Return :

void

In files :

app/admin/controllers/category.php line 114

wpfd_{$themeName}_after_custom_hooks

Action fire after custom hooked

Parameters :

none

Return :

void

In files :

app/site/themes/templates/wpfd-theme.class.php line 722

wpfd_{$themeName}_after_template_hooks

Action fire after template hooked

Parameters :

none

Return :

void

In files :

app/site/themes/wpfd-tree/theme.php line 85app/site/themes/wpfd-preview/theme.php line 115app/site/themes/wpfd-ggd/theme.php line 116app/site/themes/templates/wpfd-theme.class.php line 712

wpfd_{$themeName}_after_theme_content

Action print after theme content

Parameters :

object Current theme instancearray Category config

Return :

void

In files :

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

wpfd_{$themeName}_before_files_loop

Action fire before files loop

Parameters :

object Current theme paramsarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_before_files_loop_handlebars

Action fire before files loop in handlebars template

Parameters :

array Current theme paramsarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_before_template_hooks

Action fire before templates hooked

Parameters :

none

Return :

void

In files :

app/site/themes/templates/wpfd-theme.class.php line 584

wpfd_{$themeName}_before_theme_content

Action print before theme content

Parameters :

object Current theme params

Return :

void

In files :

app/site/themes/wpfd-default/tpl.php line 27app/site/themes/wpfd-tree/tpl.php line 158app/site/themes/wpfd-tree/tpl.php line 280app/site/themes/wpfd-preview/tpl.php line 101app/site/themes/wpfd-ggd/tpl.php line 101app/site/themes/templates/tpl-default.php line 25app/site/themes/wpfd-table/tpl.php line 106

wpfd_{$themeName}_buttons

Action to show buttons

Parameters :

object Current file objectarray Global configarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_buttons_handlebars

Action print buttons in handlebars template

Parameters :

array $config Main configarray $params Category config

Return :

void

In files :

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

wpfd_{$themeName}_columns

Action to show columns

Parameters :

array Main configarray Category config

Return :

void

In files :

app/site/themes/wpfd-table/tpl.php line 171

wpfd_{$themeName}_file_block

Action to show file block

Parameters :

object Current file objectarray Global configarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_file_block_handlebars

Action to show file block in handlebars template

Parameters :

array Main configarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_file_content

Action to show file content

Parameters :

object Current file objectarray Global configarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_file_content_handlebars

Action print file content in handlebars template

Parameters :

array $config Main configarray $params Category config

Return :

void

In files :

app/site/themes/wpfd-default/tpl.php line 72app/site/themes/wpfd-tree/tpl.php line 41app/site/themes/wpfd-preview/tpl.php line 44app/site/themes/wpfd-ggd/tpl.php line 44app/site/themes/templates/tpl-default.php line 65

wpfd_{$themeName}_file_info

Action to show file info

Parameters :

object Current file objectarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_file_info_handlebars

Action to show file info in handlebars template

Parameters :

array Global configarray Category config

Return :

void

In files :

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

wpfd_{$themeName}_folder_tree

Action print folder tree

Parameters :

object Current theme paramsarray Category config

Return :

void

In files :

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

_wpfd_preview_generate_queue_running_updating

Filters to update the preview queue running

Parameters :

none

Return :

boolean

In files :

app/admin/views/config/view.php line 204

import_term_meta_key

Filters the meta key for an imported piece of term meta.

Parameters :

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

Return :

void

In files :

app/admin/classes/import/class-wp-import.php line 390

the_content_export

Filters the post content used for WXR exports.

Parameters :

string $post_content Content of the current post.

Return :

void

In files :

app/admin/controllers/config.php line 999

the_excerpt_export

Filters the post excerpt used for WXR exports.

Parameters :

string $post_excerpt Excerpt for the current post.

Return :

void

In files :

app/admin/controllers/config.php line 1009

wp_import_existing_post

Filter ID of the existing post corresponding to post currently importing.Return 0 to force the post to be imported. Filter the ID to be something elseto override which existing post is mapped to the imported post.

Parameters :

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

Return :

void

In files :

app/admin/classes/import/class-wp-import.php line 607

wp_import_term_meta

Filters the metadata attached to an imported term.

Parameters :

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

In files :

app/admin/classes/import/class-wp-import.php line 375

wpfd_

Additional classes for table

Parameters :

array

Return :

void

In files :

app/site/themes/wpfd-table/theme.php line 184

wpfd_abs_path_to_url

Filter to change finally url

Parameters :

string

Return :

void

In files :

app/functions.php line 1177

wpfd_automatic_revision

Filter allow to change automatic revision

Parameters :

string array

Return :

void

In files :

app/admin/controllers/files.php line 4480

wpfd_automatic_revision_date_format

Filter allow to change date format in automatic versioning

Parameters :

string array

Return :

void

In files :

app/admin/controllers/files.php line 4442

wpfd_automatic_revision_enabled

Filter allow enable automatic version

Parameters :

boolean array

Return :

void

In files :

app/admin/controllers/files.php line 4396

wpfd_automatic_revision_increment_replacement

Filter allow change the replacement for automatic version

Parameters :

string array

Return :

void

In files :

app/admin/controllers/files.php line 4463

wpfd_automatic_revision_pattern

Filter allow to change automatic version pattern

Parameters :

string array

Return :

void

In files :

app/admin/controllers/files.php line 4409

wpfd_back_button_handlebars

Global filter to change html and arguments of back button handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2336

wpfd_before_save_category

Filter for category parameters before save to database

Parameters :

array Category paramsinteger Term id

Return :

array

In files :

app/admin/controllers/category.php line 331

wpfd_before_save_file_metadata

Filter allow modify file meta data before save to database

Parameters :

array File meta data array

Return :

array

In files :

app/admin/models/file.php line 177

wpfd_before_save_file_params

Filter allow modify file data before save to database

Parameters :

array File data array

Return :

array

In files :

app/admin/models/file.php line 107

wpfd_before_update_category_color

Filter update category color

Parameters :

string New category colorinteger Term id to change name

Return :

string|boolean

In files :

app/admin/controllers/category.php line 288

wpfd_before_update_category_description

Filter update category description

Parameters :

string New category descriptioninteger Term id to change name

Return :

string|boolean

In files :

app/admin/controllers/category.php line 250

wpfd_before_update_category_name

Filter update category name

Parameters :

string New category nameinteger Term id to change name

Return :

string|boolean

In files :

app/admin/controllers/category.php line 106

wpfd_before_upload_file

Filter before upload file

Parameters :

array File datainteger Current user id

Return :

array

In files :

app/admin/models/files.php line 1326

wpfd_categories

Allow to filter the front categories list

Parameters :

array

Return :

void

In files :

app/site/models/categoriesfront.php line 166

wpfd_categories_order

Filters allow to change ordering direction of categories

Parameters :

string

Return :

string

In files :

app/site/controllers/categories.php line 73app/site/models/categoriesfront.php line 52app/site/models/categoriesfront.php line 334app/site/models/categoriesfront.php line 389

wpfd_categories_orderby

Filters allow to change order column of categories

Parameters :

string

Return :

string

In files :

app/site/controllers/categories.php line 82app/site/models/categoriesfront.php line 63app/site/models/categoriesfront.php line 345app/site/models/categoriesfront.php line 400

wpfd_category_description_handlebars

Global filter to change html and arguments of category description handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2506

wpfd_category_item_handlebars

Global filter to change html and arguments of categories item handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2614

wpfd_category_loading_message

Filters allow to turn on category loading message

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 484app/functions.php line 2205

wpfd_category_loading_message

Filters allow to turn on category loading message

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 484app/functions.php line 2205

wpfd_category_title

Global filter to change html and arguments of category title

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2459

wpfd_category_title_handlebars

Global filter to change html and arguments of category title handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2392

wpfd_category_tree

Global filter to change html and arguments of category tree

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2777

wpfd_category_tree_click_scroll_up

The filter allows when clicking on the category tree to automatically scroll up to the top of the element

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 511app/functions.php line 2232

wpfd_category_tree_click_scroll_up

The filter allows when clicking on the category tree to automatically scroll up to the top of the element

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 511app/functions.php line 2232

wpfd_category_tree_expanded

Filters allow to expand category tree on frontend

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 493app/functions.php line 2214

wpfd_category_tree_expanded

Filters allow to expand category tree on frontend

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 493app/functions.php line 2214

wpfd_category_tree_parent_expanded

Filters allow to expand category tree parent on frontend

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 502app/functions.php line 2223

wpfd_category_tree_parent_expanded

Filters allow to expand category tree parent on frontend

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 502app/functions.php line 2223

wpfd_check_special_char_editing

Filter to check special chars on editing

Parameters :

boolean

Return :

void

In files :

app/admin/init.php line 461

wpfd_clean_interval

Filter to change clean junks time, this will override WPFD_CLEAN_INTERVAL constance

Parameters :

$interval Time in second

Return :

void

In files :

app/functions.php line 1836

wpfd_custom_zip_folder_on_server

Filter for customizing download load zip folder

Parameters :

boolean

Return :

void

In files :

app/site/controllers/files.php line 55

wpfd_default_category_params

Filters allow setup default params for new category

Parameters :

array Default values: order, orderby, roles, private

Return :

array

In files :

app/admin/models/category.php line 480app/site/models/categoryfront.php line 88app/site/models/categoriesfront.php line 561

wpfd_default_category_visibility

Filters allow setup default visibility

Parameters :

array Default values: roles, private

Return :

array

In files :

app/functions.php line 2633

wpfd_file_download_button_args

Global filter to change html and arguments of download button

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1967

wpfd_file_download_button_handlebars_args

Global filter to change html and arguments of download button handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1894

wpfd_file_info

Filter file info in front

Parameters :

object File object

Return :

object

In files :

app/site/models/filesfront.php line 353app/site/models/filefront.php line 334app/site/models/filefront.php line 407

wpfd_file_info_created_args

Global filter to change html and arguments of created

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1461

wpfd_file_info_created_handlebars_args

Global filter to change html and arguments of created handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1410

wpfd_file_info_description_args

Global filter to change html and arguments of description

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1005

wpfd_file_info_description_handlebars_args

Global filter to change html and arguments of description handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 956

wpfd_file_info_hits_args

Global filter to change html and arguments of hits

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1361

wpfd_file_info_hits_handlebars_args

Global filter to change html and arguments of hits handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1310

wpfd_file_info_icon_html

Global filter to change icon html

Parameters :

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

Return :

string

In files :

app/site/themes/templates/wpfd-theme.class.php line 1674

wpfd_file_info_modified_args

Global filter to change html and arguments of modified

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1563

wpfd_file_info_modified_handlebars_args

Global filter to change html and arguments of modified handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1510

wpfd_file_info_size_args

Global filter to change html and arguments of size

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1261

wpfd_file_info_size_handlebars_args

Global filter to change html and arguments of size handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1210

wpfd_file_info_title_args

Global filter to change html and arguments of title

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1800

wpfd_file_info_title_handlebars_args

Global filter to change html and arguments of title handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1735

wpfd_file_info_version_args

Globa filter to change html and arguments of version

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1160

wpfd_file_info_version_handlebars_args

Global filter to change html and arguments of version handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1107

wpfd_file_large_size_custom_icon

Filter to select large size file custom icon

Parameters :

boolean

Return :

void

In files :

app/admin/init.php line 395

wpfd_file_open_pdf_button_args

Global filter to change html and arguments of open pdf button

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2187

wpfd_file_open_pdf_button_handlebars_args

Global filter to change html and arguments of open pdf button handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2050

wpfd_file_params

Filter to update data before load to fields

Parameters :

array Data load to fields

Return :

array

In files :

app/admin/views/file/view.php line 152

wpfd_file_preview_button_args

Globacl filter to change html and arguments of preview button

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2238

wpfd_file_preview_button_handlebars_args

Global filter to change html and arguments of preview button handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2096

wpfd_file_replace_download_with_preview

Filter allow to change the file download link when disable download popup

Parameters :

boolean

Return :

void

In files :

app/site/themes/wpfd-tree/tpl.php line 19app/site/themes/wpfd-preview/theme.php line 201app/site/themes/wpfd-preview/theme.php line 263app/site/themes/wpfd-ggd/theme.php line 162app/site/themes/wpfd-ggd/theme.php line 220

wpfd_file_title

Filter to change file title

Parameters :

string File titleinteger File id

Return :

string

In files :

app/site/models/filesfront.php line 194app/site/models/filesfront.php line 342app/site/models/filefront.php line 121app/site/models/filefront.php line 374app/site/models/filefront.php line 252

wpfd_file_title_open_file_in_new_tab

Filters allow to open file in new tab when clicking on file title

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 520app/functions.php line 2241

wpfd_file_title_open_file_in_new_tab

Filters allow to open file in new tab when clicking on file title

Parameters :

boolean

Return :

boolean

In files :

app/site/themes/templates/wpfd-theme.class.php line 520app/functions.php line 2241

wpfd_generate_preview_page_number

The maximum number of page when generate the preview image

Parameters :

integer

Return :

void

In files :

app/admin/models/generatepreview.php line 409app/admin/models/generatepreview.php line 739

wpfd_generate_preview_queue_interval

Filter to change generate preview interval, this will override WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL constance

Parameters :

$interval Time in second

Return :

void

In files :

app/functions.php line 2586

wpfd_generate_preview_url

Filter to generate preview url

Parameters :

boolean Generate preview urlstring File idstring Category idstring Token

Return :

boolean

In files :

app/site/helpers/WpfdHelperFile.php line 103

wpfd_generated_preview_file_real_path

Filter allow to do anything with the generated preview file

Parameters :

string

Return :

void

In files :

app/admin/models/generatepreview.php line 862

wpfd_get_content_dir

Filter to change the custom content directory. Default: 'wp-file-download'

Parameters :

string The current custom content dir string.

Return :

boolean

In files :

app/functions.php line 86

wpfd_get_support_cloud

Filter return supported cloud platformRequire to detect where categories/files from

Parameters :

array Cloud platform list

Return :

array

In files :

app/functions.php line 1019

wpfd_get_template

Allow 3rd party plugin filter

Parameters :

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

Return :

string

In files :

app/functions.php line 870

wpfd_index_file

Filter to add file content on index

Parameters :

array ChunksWP_Post Post object

Return :

void

In files :

app/admin/models/fts.php line 1176

wpfd_locate_template

Filter on return found template path

Parameters :

string Template pathstring Template namestring Template path dir

Return :

void

In files :

app/functions.php line 832

wpfd_locate_theme

Filter on return found template path

Parameters :

string Template pathstring Template namestring Template path dir

Return :

void

In files :

app/functions.php line 957

wpfd_not_authorized_redirect_url

Filter to redirect user when they not authorized to download current file

Parameters :

string

Return :

void

In files :

app/site/controllers/file.php line 273app/site/init.php line 1101

wpfd_not_authorized_redirect_url

Filter to redirect user when they not authorized to download current file

Parameters :

string

Return :

void

In files :

app/site/controllers/file.php line 273app/site/init.php line 1101

wpfd_password_expires

Filters the life span of the post password cookie.By default, the cookie expires 10 days from creation. To turn thisinto a session cookie, return 0.

Parameters :

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

Return :

void

In files :

app/site/controllers/file.php line 1300

wpfd_password_form

Filters the HTML output for the protected post password form.If modifying the password field, please note that the core database schemalimits the password field to 20 characters regardless of the value of thesize attribute in the form input.

Parameters :

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

Return :

void

In files :

app/functions.php line 3331

wpfd_preview_files_dir

Filter to change the preview document directory

Parameters :

string

Return :

void

In files :

app/admin/classes/WpfdBase.php line 90

wpfd_preview_service_url

Filter to change preview service url

Parameters :

string Preview url with %s placeholder for url

Return :

string

In files :

app/site/helpers/WpfdHelperFile.php line 121

wpfd_preview_url

Filter to change preview url

Parameters :

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

Return :

string

In files :

app/site/helpers/WpfdHelperFile.php line 132

wpfd_real_abs_path

Filter to fix wrong ABSPATH in some hosting/server

Parameters :

string

Return :

void

In files :

app/functions.php line 1159

wpfd_remove_download_zip_file_from_server

Filter for removing zip file from server

Parameters :

boolean

Return :

void

In files :

app/site/controllers/files.php line 94

wpfd_search_login_required

Filter to check login for search file(s)

Parameters :

none

Return :

boolean

In files :

app/site/helpers/WpfdHelperShortcodes.php line 2294

wpfd_search_results

Filters for search results

Parameters :

array Files resultsarray Search filters

Return :

array

In files :

app/site/models/search.php line 607

wpfd_search_results_file_title_length

Allow to change file length on search results

Parameters :

integer

Return :

void

In files :

app/site/models/search.php line 869

wpfd_search_results_order

Search results order direction

Parameters :

string

Return :

void

In files :

app/site/models/search.php line 251

wpfd_search_results_orderby

Search results orderby

Parameters :

string

Return :

void

In files :

app/site/models/search.php line 244

wpfd_search_results_orderby_relevance

Filter to sort files based on the relevance of keywords.

Parameters :

boolean

Return :

boolean

In files :

app/site/views/search/view.php line 270

wpfd_search_tags_relation

Filter allow to change relation of tags

Parameters :

string

Return :

void

In files :

app/site/models/search.php line 132

wpfd_selected_file

Filter of file selected to download

Parameters :

array

Return :

void

In files :

app/site/controllers/files.php line 308app/site/controllers/files.php line 483

wpfd_selected_file

Filter of file selected to download

Parameters :

array

Return :

void

In files :

app/site/controllers/files.php line 308app/site/controllers/files.php line 483

wpfd_selected_files

Filter for files selected to download

Parameters :

array

Return :

void

In files :

app/site/controllers/files.php line 87

wpfd_show_upload_form_reverse

Filter to change the upload form

Parameters :

boolean

Return :

void

In files :

app/site/views/files/view.php line 451app/site/themes/wpfd-default/tpl.php line 248app/site/themes/wpfd-tree/tpl.php line 249app/site/themes/wpfd-preview/tpl.php line 241app/site/themes/wpfd-ggd/tpl.php line 238app/site/themes/wpfd-table/tpl.php line 247

wpfd_statistics_filter_by

Statistics filter by

Parameters :

array

Return :

void

In files :

app/admin/views/statistics/tpl/filters.php line 44

wpfd_statistics_filter_by_placeholders

Statistics filter by placeholders

Parameters :

array

Return :

void

In files :

app/admin/views/statistics/tpl/filters.php line 51

wpfd_statistics_get_selection_arguments

Statistics get selection value arguments

Parameters :

array string string

Return :

void

In files :

app/admin/models/statistics.php line 194

wpfd_statistics_get_selection_posts_clauses

Statistics get selection posts clauses

Parameters :

array string string

Return :

void

In files :

app/admin/models/statistics.php line 378

wpfd_statistics_get_selection_value

Statistics get selection value

Parameters :

array string

Return :

void

In files :

app/admin/models/statistics.php line 121

wpfd_statistics_type

Change statistics type

Parameters :

string string string

Return :

void

In files :

app/admin/models/statistics.php line 387

wpfd_token_live_time

Filter to change token live time

Parameters :

int Token live time in seconds

Return :

int

In files :

app/site/models/tokens.php line 123app/site/models/tokens.php line 170app/functions.php line 1814

wpfd_upload_dir

Filter allow to change the files upload dir

Parameters :

string

Return :

void

In files :

app/admin/classes/WpfdBase.php line 55

wpfd_user_can

Filter check capability of current user to manage file

Parameters :

boolean The current user has the given capabilitystring Action name

Return :

boolean

In files :

jutranslation/jutranslation.php line 100app/admin/classes/install-wizard/install-wizard.php line 59app/functions.php line 1194app/functions.php line 1211app/functions.php line 1255app/functions.php line 1275app/functions.php line 1295app/functions.php line 1315app/functions.php line 1365app/functions.php line 1415

wpfd_user_can

Filter check capability of current user to edit permissions settings

Parameters :

boolean The current user has the given capabilitystring Action name

Return :

boolean

In files :

jutranslation/jutranslation.php line 100app/admin/classes/install-wizard/install-wizard.php line 59app/functions.php line 1194app/functions.php line 1211app/functions.php line 1255app/functions.php line 1275app/functions.php line 1295app/functions.php line 1315app/functions.php line 1365app/functions.php line 1415

wpfd_you_dont_have_permission_redirect_url

Filter to redirect user when they don't have permission to download current file

Parameters :

string

Return :

void

In files :

app/site/controllers/file.php line 252app/site/init.php line 1080

wpfd_you_dont_have_permission_redirect_url

Filter to redirect user when they don't have permission to download current file

Parameters :

string

Return :

void

In files :

app/site/controllers/file.php line 252app/site/init.php line 1080

wpfd_{$themeName}_back_button_handlebars

Filter to change html and arguments of back button handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2349

wpfd_{$themeName}_category_description

Global filter to change html and arguments of category description

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2553app/site/themes/templates/wpfd-theme.class.php line 2566

wpfd_{$themeName}_category_description

Filter to change html and arguments of category description

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2553app/site/themes/templates/wpfd-theme.class.php line 2566

wpfd_{$themeName}_category_description_handlebars

Filter to change html and arguments of category description handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2519

wpfd_{$themeName}_category_item

Filter to change html and arguments of categories item

Parameters :

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

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2719app/site/themes/templates/wpfd-theme.class.php line 2733

wpfd_{$themeName}_category_item

Global filter to change html and arguments of categories item

Parameters :

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

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2719app/site/themes/templates/wpfd-theme.class.php line 2733

wpfd_{$themeName}_category_item_handlebars

Filter to change html and arguments of categories item handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2627

wpfd_{$themeName}_category_title

Filter to change html and arguments of category title

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2472

wpfd_{$themeName}_category_title_handlebars

Filter to change html and arguments of category title handlebars

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2405

wpfd_{$themeName}_category_tree

Filter to change html and arguments of category tree

Parameters :

array Template arrayobject Current theme objectarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2790

wpfd_{$themeName}_column_created_header_html

Filter to change html header of created date column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 902

wpfd_{$themeName}_column_description_header_html

Filter to change html header of description column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 733app/site/themes/wpfd-table/theme.php line 767app/site/themes/wpfd-table/theme.php line 1028

wpfd_{$themeName}_column_description_header_html

Filter to change html header of description column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 733app/site/themes/wpfd-table/theme.php line 767app/site/themes/wpfd-table/theme.php line 1028

wpfd_{$themeName}_column_description_header_html

Filter to change html header of description column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 733app/site/themes/wpfd-table/theme.php line 767app/site/themes/wpfd-table/theme.php line 1028

wpfd_{$themeName}_column_download_header_html

Filter to change html header of download column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 971

wpfd_{$themeName}_column_hits_header_html

Filter to change html header of hits column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 869

wpfd_{$themeName}_column_modified_header_html

Filter to change html header of modified date column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 936

wpfd_{$themeName}_column_size_header_html

Filter to change html header of size column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 835

wpfd_{$themeName}_column_title_header_html

Filter to change html header of title column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 699

wpfd_{$themeName}_column_version_header_html

Filter to change html header of version column

Parameters :

string Header html

Return :

string

In files :

app/site/themes/wpfd-table/theme.php line 801

wpfd_{$themeName}_content_wrapper

Filter to change content wrapper output

Parameters :

string Content wrapperobject Current theme object

Return :

string

In files :

app/site/themes/templates/wpfd-theme.class.php line 764

wpfd_{$themeName}_content_wrapper_input

Filters to print hidden input below content wrapper

Parameters :

string Input htmlobject Current theme object

Return :

string

In files :

app/site/themes/templates/wpfd-theme.class.php line 792

wpfd_{$themeName}_file_download_button_args

Filter to change html and arguments of download button

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1981

wpfd_{$themeName}_file_download_button_handlebars_args

Filter to change html and arguments of download button handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1907

wpfd_{$themeName}_file_info_created_args

Filter to change html and arguments of created

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1474

wpfd_{$themeName}_file_info_created_handlebars_args

Filter to change html and arguments of created handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1423

wpfd_{$themeName}_file_info_description_args

Filter to change html and arguments of description

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1018

wpfd_{$themeName}_file_info_description_handlebars_args

Filter to change html and arguments of description handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 968

wpfd_{$themeName}_file_info_hits_args

Filter to change html and arguments of hits

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1374

wpfd_{$themeName}_file_info_hits_handlebars_args

Filter to change html and arguments of hits handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1323

wpfd_{$themeName}_file_info_icon_hanlebars

Filter to change icon html for handlebars template

Parameters :

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

In files :

app/site/themes/wpfd-preview/theme.php line 173app/site/themes/templates/wpfd-theme.class.php line 1617app/site/themes/templates/wpfd-theme.class.php line 1630app/site/themes/wpfd-table/theme.php line 265

wpfd_{$themeName}_file_info_icon_hanlebars

Filter to change icon html for handlebars template

Parameters :

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

In files :

app/site/themes/wpfd-preview/theme.php line 173app/site/themes/templates/wpfd-theme.class.php line 1617app/site/themes/templates/wpfd-theme.class.php line 1630app/site/themes/wpfd-table/theme.php line 265

wpfd_{$themeName}_file_info_icon_html

Filter to change icon html

Parameters :

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

Return :

string

In files :

app/site/themes/templates/wpfd-theme.class.php line 1688app/site/themes/wpfd-table/theme.php line 357

wpfd_{$themeName}_file_info_modified_args

Filter to change html and arguments of modified

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1577

wpfd_{$themeName}_file_info_modified_handlebars_args

Filter to change html and arguments of modified handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1523

wpfd_{$themeName}_file_info_size_args

Filter to change html and arguments of size

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1274

wpfd_{$themeName}_file_info_size_handlebars_args

Filter to change html and arguments of size handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1222

wpfd_{$themeName}_file_info_title_args

Filter to change html and arguments of title

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1814app/site/themes/wpfd-table/theme.php line 397

wpfd_{$themeName}_file_info_title_handlebars_args

Filter to change html and arguments of title handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1748app/site/themes/wpfd-table/theme.php line 300

wpfd_{$themeName}_file_info_version_args

Filter to change html and arguments of version

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1173

wpfd_{$themeName}_file_info_version_handlebars_args

Filter to change html and arguments of version handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 1119

wpfd_{$themeName}_file_open_pdf_button_args

Filter to change html and arguments of open pdf button

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2201

wpfd_{$themeName}_file_open_pdf_button_handlebars_args

Filter to change html and arguments of open pdf button handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2063

wpfd_{$themeName}_file_preview_button_args

Filter to change html and arguments of preview button

Parameters :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2252

wpfd_{$themeName}_file_preview_button_handlebars_args

Filter to change html and arguments of preview button handlebars

Parameters :

array Template arrayarray Main configarray Current category config

Return :

array

In files :

app/site/themes/templates/wpfd-theme.class.php line 2109

Composer

composer logo Here is the solution to use our plugins as a composer dependency. You have to declare in your composer.json file the joomunited repository, please make sure to replace the YOUR_TOKEN in the url by your own token. You can find it under https://www.joomunited.com/my-account/my-membership under the Composer token accordion. {    "repositories":[       {          "type":"package",          "package":{             "name":"joomunited/wp-file-download",             "version":"master",             "type":"wordpress-plugin",             "dist":{                "type":"zip",                "url":"https://www.joomunited.com/extra/download/wp-file-download/YOUR_TOKEN",                "reference":"master"             }          }       }    ],    "require":{       "composer/installers":"~1.0",       "joomunited/wp-file-download":"dev-master"    } }

Set Update key programmatically with WP CLI

Use the same key you used for the composer installation and execute this composer command to set the update token wp option update ju_user_token "YOUR_TOKEN"