Lewati ke konten utama

Dokumentasi Pengembang WP File Download

Dokumentasi ini akan membantu pengembang berpengalaman untuk mengintegrasikan layanan lain dengan plugin kami. Berikut adalah semua aksi dan filter untuk plugin ini. Jika Anda membutuhkan lebih banyak, jangan ragu untuk bertanya melalui forum khusus ini. Terima kasih telah menggunakan plugin kami!

import_term_meta

Terjadi setelah term meta diimpor.

Parameter:

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

Return :

void

Dalam berkas:

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

wpdf_admin_notices

Tindakan untuk menulis pemberitahuan impor

Parameter:

none

Return :

void

Dalam berkas:

app/admin/views/wpfd/tpl/ui-default.php baris 153app/admin/views/config/tpl/ui-default.php baris 50app/admin/views/iconsbuilder/tpl/default.php baris 50

deskripsi_versi_pembaruan_add-on_wpfd

Perbarui versi dan deskripsi tindakan setelah disalin

Parameter:

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

Dalam berkas:

app/admin/controllers/files.php baris 902app/admin/controllers/files.php baris 995app/admin/controllers/files.php baris 2687app/admin/controllers/files.php baris 1028app/admin/controllers/files.php baris 1334app/admin/controllers/files.php baris 1836app/admin/controllers/files.php baris 3098app/admin/controllers/files.php baris 3589app/admin/controllers/files.php baris 1090app/admin/controllers/files.php baris 2120app/admin/controllers/files.php baris 2764app/admin/controllers/files.php baris 3900app/admin/controllers/files.php baris 1149app/admin/controllers/files.php baris 1273app/admin/controllers/files.php baris 1596app/admin/controllers/files.php baris 2824app/admin/controllers/files.php baris 2965app/admin/controllers/files.php baris 3302app/admin/controllers/files.php baris 1212app/admin/controllers/files.php baris 1716app/admin/controllers/files.php baris 2245app/admin/controllers/files.php baris 2892app/admin/controllers/files.php baris 4030app/admin/controllers/files.php baris 1393app/admin/controllers/files.php baris 1501app/admin/controllers/files.php baris 3027app/admin/controllers/files.php baris 3441app/admin/controllers/files.php baris 1467app/admin/controllers/files.php baris 3184app/admin/controllers/files.php baris 1534app/admin/controllers/files.php baris 1895app/admin/controllers/files.php baris 3515app/admin/controllers/files.php baris 3647app/admin/controllers/files.php baris 1659app/admin/controllers/files.php baris 1775app/admin/controllers/files.php baris 2373app/admin/controllers/files.php baris 1969app/admin/controllers/files.php baris 2046app/admin/controllers/files.php baris 2180app/admin/controllers/files.php baris 2307app/admin/controllers/files.php baris 2436app/admin/controllers/files.php baris 3961app/admin/controllers/files.php baris 4103app/admin/controllers/files.php baris 4245app/admin/controllers/files.php baris 2601app/admin/controllers/files.php baris 3231app/admin/controllers/files.php baris 3368app/admin/controllers/files.php baris 4171app/admin/controllers/files.php baris 3735app/admin/controllers/files.php baris 3767

deskripsi_versi_pembaruan_add-on_wpfd

Pembaruan tindakan versi dan deskripsi setelah penyalinan

Parameter:

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

Dalam berkas:

app/admin/controllers/files.php baris 902app/admin/controllers/files.php baris 995app/admin/controllers/files.php baris 2687app/admin/controllers/files.php baris 1028app/admin/controllers/files.php baris 1334app/admin/controllers/files.php baris 1836app/admin/controllers/files.php baris 3098app/admin/controllers/files.php baris 3589app/admin/controllers/files.php baris 1090app/admin/controllers/files.php baris 2120app/admin/controllers/files.php baris 2764app/admin/controllers/files.php baris 3900app/admin/controllers/files.php baris 1149app/admin/controllers/files.php baris 1273app/admin/controllers/files.php baris 1596app/admin/controllers/files.php baris 2824app/admin/controllers/files.php baris 2965app/admin/controllers/files.php baris 3302app/admin/controllers/files.php baris 1212app/admin/controllers/files.php baris 1716app/admin/controllers/files.php baris 2245app/admin/controllers/files.php baris 2892app/admin/controllers/files.php baris 4030app/admin/controllers/files.php baris 1393app/admin/controllers/files.php baris 1501app/admin/controllers/files.php baris 3027app/admin/controllers/files.php baris 3441app/admin/controllers/files.php baris 1467app/admin/controllers/files.php baris 3184app/admin/controllers/files.php baris 1534app/admin/controllers/files.php baris 1895app/admin/controllers/files.php baris 3515app/admin/controllers/files.php baris 3647app/admin/controllers/files.php baris 1659app/admin/controllers/files.php baris 1775app/admin/controllers/files.php baris 2373app/admin/controllers/files.php baris 1969app/admin/controllers/files.php baris 2046app/admin/controllers/files.php baris 2180app/admin/controllers/files.php baris 2307app/admin/controllers/files.php baris 2436app/admin/controllers/files.php baris 3961app/admin/controllers/files.php baris 4103app/admin/controllers/files.php baris 4245app/admin/controllers/files.php baris 2601app/admin/controllers/files.php baris 3231app/admin/controllers/files.php baris 3368app/admin/controllers/files.php baris 4171app/admin/controllers/files.php baris 3735app/admin/controllers/files.php baris 3767

wpfd_admin_after_file_title_field

Aksi dilemparkan setelah kolom judul

Parameter:

string Current file information

Return :

void

Dalam berkas:

app/admin/forms/file.xml baris 60

wpfd_after_bottom_file_save_settings

Aksi yang dilakukan setelah tombol simpan pengaturan file paling bawah

Parameter:

string Current file information

Return :

void

Dalam berkas:

app/admin/forms/file.xml baris 255

wpfd_after_category_main_settings

Aksi tembak setelah pengaturan utama kategori di panel kanan

Parameter:

integer Current category id

Return :

void

Dalam berkas:

app/admin/views/category/tpl/default.php baris 182

wpfd_setelah_membuat_kategori_baru

Tindakan setelah kategori baru dibuat

Parameter:

integer New category idstring Category created name

Return :

void

Dalam berkas:

app/admin/controllers/category.php baris 78

wpfd_after_fieldset_category_main_settings

Aksi tembak setelah kategori pengaturan utama fieldset di panel kanan

Parameter:

integer Current category id

Return :

void

Dalam berkas:

app/admin/views/category/tpl/default.php baris 191

wpfd_after_file_main_settings

Aksi dijalankan setelah semua input pengaturan file telah ditampilkan

Parameter:

string Current file information

Return :

void

Dalam berkas:

app/admin/forms/file.xml baris 225

wpfd_after_single_file_info

Aksi dipicu setelah informasi berkas dalam tampilan berkas tunggal

Parameter:

object File object

Return :

void

Dalam berkas:

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

wpfd_after_template_part

Aksi tembak setelah bagian templat yang disebut

Parameter:

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

Dalam berkas:

app/functions.php baris 892

wpfd_before_category_main_settings

Aksi tembak sebelum pengaturan utama kategori di panel kanan

Parameter:

integer Current category id

Return :

void

Dalam berkas:

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

wpfd_before_fieldset_category_main_settings

Aksi tembak sebelum kategori pengaturan utama diatur di panel kanan

Parameter:

integer Current category id

Return :

void

Dalam berkas:

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

wpfd_sebelum_penghapusan_indeks

Aksi tembak sebelum penghapusan indeks

Parameter:

integer Post id

Return :

void

Dalam berkas:

app/admin/models/fts.php baris 1088

wpfd_sebelum_informasi_berkas_tunggal

Aksi dipicu sebelum informasi berkas dalam tampilan berkas tunggal

Parameter:

object File object

Return :

void

Dalam berkas:

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

wpfd_sebelum_template_part

Aksi tembak sebelum bagian templat yang disebut

Parameter:

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

Dalam berkas:

app/functions.php baris 880

izin_unduh_file_wpfd

Aksi akan dijalankan ketika pengguna saat ini tidak memiliki cukup izin untuk mengunduh file ini.

Parameter:

string|integer string|integer integer

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 63app/site/init.php baris 879

izin_unduh_file_wpfd

Aksi akan dijalankan ketika pengguna saat ini tidak memiliki cukup izin untuk mengunduh file ini.

Parameter:

string|integer string|integer integer

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 63app/site/init.php baris 879

wpfd_download_link_expired

Tindakan untuk halaman unduhan yang kedaluwarsa

Parameter:

string|integer string|integer integer

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 86app/site/init.php baris 902

wpfd_download_link_expired

Tindakan untuk halaman unduhan yang kedaluwarsa

Parameter:

string|integer string|integer integer

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 86app/site/init.php baris 902

wpfd_file_deleted

Aksi dijalankan setelah file dihapus

Parameter:

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

Return :

void

Dalam berkas:

app/admin/controllers/file.php baris 799app/admin/controllers/file.php baris 877app/admin/controllers/file.php baris 935app/admin/controllers/file.php baris 1288

unduhan_file_wpfd

Aksi dijalankan tepat sebelum pengunduhan file. Jangan menampilkan apa pun di sini atau pengunduhan file akan rusak

Parameter:

object File idarray Source

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 366app/site/controllers/file.php baris 452app/site/controllers/file.php baris 559app/site/controllers/file.php baris 637app/site/controllers/file.php baris 713app/site/controllers/file.php baris 755app/site/controllers/file.php baris 778app/site/controllers/file.php baris 870app/site/init.php baris 1166app/site/init.php baris 1271app/site/init.php baris 1402app/site/init.php baris 1497app/site/init.php baris 1588app/site/init.php baris 1790

unduhan_file_wpfd

Aksi dijalankan tepat sebelum pengunduhan file. Jangan menampilkan apa pun di sini atau pengunduhan file akan rusak

Parameter:

object File idarray Source

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 366app/site/controllers/file.php baris 452app/site/controllers/file.php baris 559app/site/controllers/file.php baris 637app/site/controllers/file.php baris 713app/site/controllers/file.php baris 755app/site/controllers/file.php baris 778app/site/controllers/file.php baris 870app/site/init.php baris 1166app/site/init.php baris 1271app/site/init.php baris 1402app/site/init.php baris 1497app/site/init.php baris 1588app/site/init.php baris 1790

unduhan_file_wpfd

Aksi dijalankan tepat sebelum pengunduhan file. Jangan menampilkan apa pun di sini atau pengunduhan file akan rusak

Parameter:

object File idarray Source

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 366app/site/controllers/file.php baris 452app/site/controllers/file.php baris 559app/site/controllers/file.php baris 637app/site/controllers/file.php baris 713app/site/controllers/file.php baris 755app/site/controllers/file.php baris 778app/site/controllers/file.php baris 870app/site/init.php baris 1166app/site/init.php baris 1271app/site/init.php baris 1402app/site/init.php baris 1497app/site/init.php baris 1588app/site/init.php baris 1790

unduhan_file_wpfd

Aksi dijalankan tepat sebelum pengunduhan file. Jangan menampilkan apa pun di sini atau pengunduhan file akan rusak

Parameter:

object File idarray Source

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 366app/site/controllers/file.php baris 452app/site/controllers/file.php baris 559app/site/controllers/file.php baris 637app/site/controllers/file.php baris 713app/site/controllers/file.php baris 755app/site/controllers/file.php baris 778app/site/controllers/file.php baris 870app/site/init.php baris 1166app/site/init.php baris 1271app/site/init.php baris 1402app/site/init.php baris 1497app/site/init.php baris 1588app/site/init.php baris 1790

wpfd_file_indexed

Aksi dijalankan setelah file diindeks

Parameter:

integer Inserted post idarray Post content to index

Return :

void

Dalam berkas:

app/admin/models/fts.php baris 1190

wpfd_file_uploaded

Aksi penembakan setelah file diunggah

Parameter:

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

Return :

void

Dalam berkas:

app/admin/models/files.php baris 1507

wpfd_generate_preview_after_merge_image_vertical

Aksi tembak setelah penggabungan gambar vertikal

Parameter:

string $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model

Return :

void

Dalam berkas:

app/admin/models/generatepreview.php baris 1059

wpfd_generate_preview_after_resize_thumbnail

Berkas tindakan setelah ukuran thumbnail diubah

Parameter:

string $fileName Thumbnail file path

Return :

void

Dalam berkas:

app/admin/models/generatepreview.php baris 938

wpfd_generate_preview_befor_merge_image_vertical

Aksi tembak sebelum penggabungan gambar vertikal

Parameter:

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

Return :

void

Dalam berkas:

app/admin/models/generatepreview.php baris 963

izin_peninjauan_file_wpfd

Aksi akan dijalankan ketika pengguna saat ini tidak memiliki cukup izin untuk melihat pratinjau file ini.

Parameter:

string|integer string|integer integer

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 75app/site/init.php baris 891

izin_peninjauan_file_wpfd

Aksi akan dijalankan ketika pengguna saat ini tidak memiliki cukup izin untuk melihat pratinjau file ini.

Parameter:

string|integer string|integer integer

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 75app/site/init.php baris 891

wpfd_preview_generated

Aksi dijalankan setelah thumbnail/pratinjau tersimpan

Parameter:

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

Return :

void

Dalam berkas:

app/admin/models/generatepreview.php baris 417app/admin/models/generatepreview.php baris 563app/admin/models/generatepreview.php baris 745

wpfd_simpan_kategori

Aksi tembak setelah menyimpan parameter kategori

Parameter:

integer Term idarray Category params

Return :

void

Dalam berkas:

app/admin/controllers/category.php baris 341

tombol_simpan_kategori_wpfd

Aksi tembak sebelum tombol simpan kategori di panel kanan

Parameter:

integer Current category id

Return :

void

Dalam berkas:

app/admin/views/category/tpl/default.php baris 395

wpfd_save_file_params

Setelah data file disimpan ke dalam basis data

Parameter:

array File data array

Return :

void

Dalam berkas:

app/admin/models/file.php baris 191

wpfd_update_category_color

Perbarui warna kategori

Parameter:

integer Term id to change colorstring New category color

Return :

void

Dalam berkas:

app/admin/controllers/category.php baris 297app/admin/controllers/category.php baris 714app/admin/controllers/category.php baris 855

wpfd_update_category_color

Perbarui warna kategori

Parameter:

integer Term id to change colorstring New category color

Return :

void

Dalam berkas:

app/admin/controllers/category.php baris 297app/admin/controllers/category.php baris 714app/admin/controllers/category.php baris 855

wpfd_update_category_color

Perbarui warna kategori

Parameter:

integer Term id to change colorstring New category color

Return :

void

Dalam berkas:

app/admin/controllers/category.php baris 297app/admin/controllers/category.php baris 714app/admin/controllers/category.php baris 855

wpfd_update_category_description

Setelah pembaruan kategori warna

Parameter:

integer Term id to change colorstring New category color

Return :

void

Dalam berkas:

app/admin/controllers/category.php baris 263

wpfd_update_category_name

Perbarui nama kategori

Parameter:

integer Term id to change namestring New category name

Return :

void

Dalam berkas:

app/admin/controllers/category.php baris 114

wpfd_{$themeName}_after_custom_hooks

Aksi tembak setelah kait kustom terpasang

Parameter:

none

Return :

void

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 762

wpfd_{$themeName}_after_template_hooks

Aksi tembak setelah templat dikaitkan

Parameter:

none

Return :

void

Dalam berkas:

app/site/themes/wpfd-tree/theme.php baris 87app/site/themes/templates/wpfd-theme.class.php baris 752app/site/themes/wpfd-ggd/theme.php baris 117app/site/themes/wpfd-preview/theme.php baris 115

wpfd_{$themeName}_after_theme_content

Cetak aksi setelah konten tema

Parameter:

object Current theme instancearray Category config

Return :

void

Dalam berkas:

app/site/themes/wpfd-table/tpl.php baris 291app/site/themes/wpfd-default/tpl.php baris 296app/site/themes/templates/tpl-default.php baris 219app/site/themes/wpfd-ggd/tpl.php baris 272app/site/themes/wpfd-preview/tpl.php baris 275

wpfd_{$themeName}_before_files_loop

Aksi dipicu sebelum perulangan file

Parameter:

object Current theme paramsarray Category config

Return :

void

Dalam berkas:

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

wpfd_{$themeName}_before_files_loop_handlebars

Aksi api sebelum perulangan file di templat handlebars

Parameter:

array Current theme paramsarray Category config

Return :

void

Dalam berkas:

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

wpfd_{$themeName}_before_template_hooks

Aksi tembak sebelum templat dikaitkan

Parameter:

none

Return :

void

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 619

wpfd_{$themeName}_before_theme_content

Cetak aksi sebelum konten tema

Parameter:

object Current theme params

Return :

void

Dalam berkas:

app/site/themes/wpfd-table/tpl.php baris 106app/site/themes/wpfd-tree/tpl.php baris 164app/site/themes/wpfd-tree/tpl.php baris 299app/site/themes/wpfd-default/tpl.php baris 27app/site/themes/templates/tpl-default.php baris 25app/site/themes/wpfd-ggd/tpl.php baris 101app/site/themes/wpfd-preview/tpl.php baris 101

wpfd_{$themeName}_buttons

Aksi untuk menampilkan tombol

Parameter:

object Current file objectarray Global configarray Category config

Return :

void

Dalam berkas:

app/site/themes/wpfd-table/tpl.php baris 233app/site/themes/wpfd-default/tpl.php baris 244app/site/themes/templates/tpl-default.php baris 198

wpfd_{$themeName}_buttons_handlebars

Tombol cetak aksi di templat setang

Parameter:

array $config Main configarray $params Category config

Return :

void

Dalam berkas:

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

wpfd_{$themeName}_columns

Tindakan untuk menampilkan kolom

Parameter:

array Main configarray Category config

Return :

void

Dalam berkas:

app/site/themes/wpfd-table/tpl.php baris 169

wpfd_{$themeName}_file_block

Tindakan untuk menampilkan blok file

Parameter:

object Current file objectarray Global configarray Category config

Return :

void

Dalam berkas:

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

wpfd_{$themeName}_file_block_handlebars

Aksi untuk menampilkan blok file di template Handlebars

Parameter:

array Main configarray Category config

Return :

void

Dalam berkas:

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

wpfd_{$themeName}_file_content

Tindakan untuk menampilkan isi file

Parameter:

object Current file objectarray Global configarray Category config

Return :

void

Dalam berkas:

app/site/themes/wpfd-default/tpl.php baris 203app/site/themes/templates/tpl-default.php baris 161

wpfd_{$themeName}_file_content_handlebars

Cetak konten file aksi di templat Handlebars

Parameter:

array $config Main configarray $params Category config

Return :

void

Dalam berkas:

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

wpfd_{$themeName}_file_info

Tindakan untuk menampilkan informasi file

Parameter:

object Current file objectarray Category config

Return :

void

Dalam berkas:

app/site/themes/wpfd-table/tpl.php baris 214app/site/themes/wpfd-default/tpl.php baris 224app/site/themes/templates/tpl-default.php baris 180

wpfd_{$themeName}_file_info_handlebars

Aksi untuk menampilkan informasi file di template Handlebars

Parameter:

array Global configarray Category config

Return :

void

Dalam berkas:

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

wpfd_{$themeName}_folder_tree

Folder pohon cetak aksi

Parameter:

object Current theme paramsarray Category config

Return :

void

Dalam berkas:

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

_wpfd_preview_generate_queue_running_updating

Filter untuk memperbarui antrean pratinjau yang sedang berjalan

Parameter:

none

Return :

boolean

Dalam berkas:

app/admin/views/config/view.php baris 218

impor_term_meta_key

Memfilter meta key untuk bagian meta istilah yang diimpor.

Parameter:

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

Return :

void

Dalam berkas:

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

ekspor_konten

Menyaring konten postingan yang digunakan untuk ekspor WXR.

Parameter:

string $post_content Content of the current post.

Return :

void

Dalam berkas:

app/admin/controllers/config.php baris 1023

ekspor_kutipan

Memfilter cuplikan postingan yang digunakan untuk ekspor WXR.

Parameter:

string $post_excerpt Excerpt for the current post.

Return :

void

Dalam berkas:

app/admin/controllers/config.php baris 1033

wp_import_existing_post

Filter ID dari postingan yang sudah ada yang sesuai dengan postingan yang sedang diimpor. Kembalikan 0 untuk memaksa postingan tersebut diimpor. Filter ID menjadi sesuatu yang lain untuk mengganti postingan yang sudah ada yang dipetakan ke postingan yang diimpor.

Parameter:

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

Return :

void

Dalam berkas:

app/admin/classes/import/class-wp-import.php baris 601

wp_import_term_meta

Memfilter metadata yang terlampir pada istilah yang diimpor.

Parameter:

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

Dalam berkas:

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

wpfd_

Kelas tambahan untuk tabel

Parameter:

array

Return :

void

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 211

wpfd_abs_path_to_url

Filter untuk mengubah URL akhir

Parameter:

string

Return :

void

Dalam berkas:

app/functions.php baris 1182

revisi_otomatis_wpfd

Filter memungkinkan untuk mengubah revisi otomatis

Parameter:

string array

Return :

void

Dalam berkas:

app/admin/controllers/files.php baris 4531

wpfd_automatic_revision_date_format

Filter memungkinkan perubahan format tanggal dalam pembuatan versi otomatis

Parameter:

string array

Return :

void

Dalam berkas:

app/admin/controllers/files.php baris 4493

wpfd_revisi_otomatis_diaktifkan

Filter memungkinkan pengaktifan versi otomatis

Parameter:

boolean array

Return :

void

Dalam berkas:

app/admin/controllers/files.php baris 4447

wpfd_automatic_revision_increment_replacement

Filter memungkinkan perubahan pengganti untuk versi otomatis

Parameter:

string array

Return :

void

Dalam berkas:

app/admin/controllers/files.php baris 4514

pola_revisi_otomatis_wpfd

Filter memungkinkan untuk mengubah pola versi otomatis

Parameter:

string array

Return :

void

Dalam berkas:

app/admin/controllers/files.php baris 4460

pegangan tombol kembali wpfd

Filter global untuk mengubah HTML dan argumen tombol kembali Handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2596

wpfd_sebelum_menyimpan_kategori

Saring parameter kategori sebelum disimpan ke basis data

Parameter:

array Category paramsinteger Term id

Return :

array

Dalam berkas:

app/admin/controllers/category.php baris 331

metadata_file_sebelum_menyimpan_file

Filter ini memungkinkan modifikasi metadata file sebelum disimpan ke basis data

Parameter:

array File meta data array

Return :

array

Dalam berkas:

app/admin/models/file.php baris 181

wpfd_sebelum_menyimpan_parameter_file

Filter ini memungkinkan modifikasi data file sebelum disimpan ke basis data

Parameter:

array File data array

Return :

array

Dalam berkas:

app/admin/models/file.php baris 107

wpfd_sebelum_pembaruan_kategori_warna

Filter pembaruan kategori warna

Parameter:

string New category colorinteger Term id to change name

Return :

string|boolean

Dalam berkas:

app/admin/controllers/category.php baris 288

wpfd_sebelum_pembaruan_kategori_deskripsi

Deskripsi kategori pembaruan filter

Parameter:

string New category descriptioninteger Term id to change name

Return :

string|boolean

Dalam berkas:

app/admin/controllers/category.php baris 250

wpfd_sebelum_pembaruan_nama_kategori

Filter pembaruan nama kategori

Parameter:

string New category nameinteger Term id to change name

Return :

string|boolean

Dalam berkas:

app/admin/controllers/category.php baris 106

wpfd_sebelum_mengunggah_file

Saring sebelum mengunggah file

Parameter:

array File datainteger Current user id

Return :

array

Dalam berkas:

app/admin/models/files.php baris 1416

wpfd_categories

Izinkan untuk memfilter daftar kategori depan

Parameter:

array

Return :

void

Dalam berkas:

app/site/models/categoriesfront.php baris 176

wpfd_categories_order

Filter memungkinkan untuk mengubah arah urutan kategori

Parameter:

string

Return :

string

Dalam berkas:

app/site/controllers/categories.php baris 81app/site/models/categoriesfront.php baris 53app/site/models/categoriesfront.php baris 338app/site/models/categoriesfront.php baris 393

wpfd_categories_orderby

Filter memungkinkan untuk mengubah urutan kolom kategori

Parameter:

string

Return :

string

Dalam berkas:

app/site/controllers/categories.php baris 90app/site/models/categoriesfront.php baris 64app/site/models/categoriesfront.php baris 349app/site/models/categoriesfront.php baris 404

wpfd_category_description_handlebars

Filter global untuk mengubah HTML dan argumen deskripsi kategori Handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2765

wpfd_category_item_handlebars

Filter global untuk mengubah html dan argumen item kategori handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2873

pesan_pemuatan_kategori_wpfd

Filter memungkinkan untuk mengaktifkan pesan pemuatan kategori

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 513app/functions.php baris 2250

pesan_pemuatan_kategori_wpfd

Filter memungkinkan untuk mengaktifkan pesan pemuatan kategori

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 513app/functions.php baris 2250

wpfd_category_title

Filter global untuk mengubah HTML dan argumen judul kategori

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2718

wpfd_category_title_handlebars

Filter global untuk mengubah html dan argumen judul kategori handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2651

wpfd_category_tree

Filter global untuk mengubah HTML dan argumen dari pohon kategori

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 3036

wpfd_category_tree_click_scroll_up

Filter ini memungkinkan agar saat mengklik pohon kategori, halaman akan otomatis bergulir ke bagian atas elemen tersebut

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 540app/functions.php baris 2277

wpfd_category_tree_click_scroll_up

Filter ini memungkinkan agar saat mengklik pohon kategori, halaman akan otomatis bergulir ke bagian atas elemen tersebut

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 540app/functions.php baris 2277

wpfd_category_tree_expanded

Filter memungkinkan untuk memperluas struktur kategori di bagian depan (frontend)

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 522app/functions.php baris 2259

wpfd_category_tree_expanded

Filter memungkinkan untuk memperluas struktur kategori di bagian depan (frontend)

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 522app/functions.php baris 2259

wpfd_category_tree_parent_expanded

Filter memungkinkan untuk memperluas induk pohon kategori di bagian depan (frontend)

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 531app/functions.php baris 2268

wpfd_category_tree_parent_expanded

Filter memungkinkan untuk memperluas induk pohon kategori di bagian depan (frontend)

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 531app/functions.php baris 2268

wpfd_check_special_char_editing

Filter untuk memeriksa karakter khusus saat mengedit

Parameter:

boolean

Return :

void

Dalam berkas:

app/admin/init.php baris 498

interval_pembersihan_wpfd

Filter untuk mengubah waktu pembersihan sampah, ini akan menimpa konstanta WPFD_CLEAN_INTERVAL

Parameter:

$interval Time in second

Return :

void

Dalam berkas:

app/functions.php baris 1842

folder_zip_kustom_wpfd_di_server

Filter untuk menyesuaikan pengunduhan dan pemuatan folder zip

Parameter:

boolean

Return :

void

Dalam berkas:

app/site/controllers/files.php baris 55

wpfd_default_category_params

Filter memungkinkan pengaturan parameter default untuk kategori baru

Parameter:

array Default values: order, orderby, roles, private

Return :

array

Dalam berkas:

app/site/models/categoriesfront.php baris 565app/site/models/categoryfront.php baris 89app/admin/models/category.php baris 477

visibilitas_kategori_default_wpfd

Filter memungkinkan pengaturan visibilitas default

Parameter:

array Default values: roles, private

Return :

array

Dalam berkas:

app/functions.php baris 2678

wpfd_file_download_button_args

Filter global untuk mengubah HTML dan argumen tombol unduh

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2227

wpfd_file_download_button_handlebars_args

Filter global untuk mengubah HTML dan argumen tombol unduh Handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2154

wpfd_file_info

Saring informasi file di depan

Parameter:

object File object

Return :

object

Dalam berkas:

app/site/models/filesfront.php baris 623app/site/models/filefront.php baris 583app/site/models/filefront.php baris 658

wpfd_file_info_created_args

Filter global untuk mengubah html dan argumen yang dibuat

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

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

wpfd_file_info_created_handlebars_args

Filter global untuk mengubah html dan argumen dari handlebars yang dibuat

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1526

wpfd_file_info_custom_fields_args

Filter global untuk mengubah HTML dan argumen bidang kustom

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1744

wpfd_file_info_custom_fields_handlebars_args

Filter global untuk mengubah HTML dan argumen bidang kustom Handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1792

wpfd_file_info_description_args

Filter global untuk mengubah HTML dan argumen deskripsi

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1121

wpfd_file_info_description_handlebars_args

Filter global untuk mengubah HTML dan argumen deskripsi Handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1072

wpfd_file_info_hits_args

Filter global untuk mengubah HTML dan argumen dari hasil pencarian

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1477

wpfd_file_info_hits_handlebars_args

Filter global untuk mengubah html dan argumen hit handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1426

wpfd_file_info_icon_html

Filter global untuk mengubah HTML ikon

Parameter:

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

Return :

string

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1903

wpfd_file_info_modified_args

Filter global untuk mengubah html dan argumen yang dimodifikasi

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1679

wpfd_file_info_modified_handlebars_args

Filter global untuk mengubah html dan argumen dari handlebars yang dimodifikasi

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1626

wpfd_file_info_size_args

Filter global untuk mengubah html dan argumen ukuran

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1377

wpfd_file_info_size_handlebars_args

Filter global untuk mengubah html dan argumen ukuran handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1326

wpfd_file_info_title_args

Filter global untuk mengubah HTML dan argumen judul

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2060

wpfd_file_info_title_handlebars_args

Filter global untuk mengubah html dan argumen judul handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

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

wpfd_file_info_version_args

Filter global untuk mengubah html dan argumen versi

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1276

wpfd_file_info_version_handlebars_args

Filter global untuk mengubah html dan argumen versi handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1223

ikon kustom ukuran besar file wpfd

Filter untuk memilih ikon khusus file berukuran besar

Parameter:

boolean

Return :

void

Dalam berkas:

app/admin/init.php baris 405

hari_penanda_file_wpfd

Filter untuk mengubah penundaan waktu penanda file

Parameter:

array The list of days

Return :

array

Dalam berkas:

app/admin/forms/fields_v2/Filemarker.php baris 104

masa berlaku penanda_file_wpfd

Penyaringan waktu kedaluwarsa

Parameter:

integer Expired time

Return :

void

Dalam berkas:

app/functions.php baris 4573app/functions.php baris 4634app/functions.php baris 4676

masa berlaku penanda_file_wpfd

Penyaringan waktu kedaluwarsa

Parameter:

integer Expired time

Return :

void

Dalam berkas:

app/functions.php baris 4573app/functions.php baris 4634app/functions.php baris 4676

masa berlaku penanda_file_wpfd

Penyaringan waktu kedaluwarsa

Parameter:

integer Expired time

Return :

void

Dalam berkas:

app/functions.php baris 4573app/functions.php baris 4634app/functions.php baris 4676

wpfd_file_open_pdf_button_args

Filter global untuk mengubah HTML dan argumen tombol buka PDF

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2447

wpfd_file_open_pdf_button_handlebars_args

Filter global untuk mengubah html dan argumen tombol buka pdf handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2310

wpfd_file_params

Filter untuk memperbarui data sebelum dimuat ke kolom

Parameter:

array Data load to fields

Return :

array

Dalam berkas:

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

wpfd_file_preview_button_args

Filter global untuk mengubah HTML dan argumen tombol pratinjau

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2498

wpfd_file_preview_button_handlebars_args

Filter global untuk mengubah HTML dan argumen tombol pratinjau Handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2356

wpfd_file_replace_download_with_preview

Filter ini memungkinkan perubahan tautan unduhan file saat menonaktifkan pop-up unduhan

Parameter:

boolean

Return :

void

Dalam berkas:

app/site/themes/wpfd-tree/tpl.php baris 20app/site/themes/wpfd-ggd/theme.php baris 177app/site/themes/wpfd-ggd/theme.php baris 257app/site/themes/wpfd-preview/theme.php baris 214app/site/themes/wpfd-preview/theme.php baris 298

wpfd_file_title

Filter untuk mengubah judul file

Parameter:

string File titleinteger File id

Return :

string

Dalam berkas:

app/site/models/filesfront.php baris 237app/site/models/filesfront.php baris 399app/site/models/filefront.php baris 125app/site/models/filefront.php baris 623app/site/models/filefront.php baris 465

wpfd_file_title_open_file_in_new_tab

Filter memungkinkan untuk membuka file di tab baru saat mengklik judul file

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 549app/functions.php baris 2286

wpfd_file_title_open_file_in_new_tab

Filter memungkinkan untuk membuka file di tab baru saat mengklik judul file

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 549app/functions.php baris 2286

wpfd_generate_preview_page_number

Jumlah halaman maksimum saat menghasilkan gambar pratinjau

Parameter:

integer

Return :

void

Dalam berkas:

app/admin/models/generatepreview.php baris 394app/admin/models/generatepreview.php baris 724

interval antrean_pembuatan_pratinjau_wpfd

Gunakan filter untuk mengubah interval pembuatan pratinjau, ini akan menimpa konstanta WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL

Parameter:

$interval Time in second

Return :

void

Dalam berkas:

app/functions.php baris 2631

wpfd_generate_preview_url

Filter untuk menghasilkan URL pratinjau

Parameter:

boolean Generate preview urlstring File idstring Category idstring Token

Return :

boolean

Dalam berkas:

app/site/helpers/WpfdHelperFile.php baris 103

wpfd_generate_single_template

WP File Download Template Tunggal

Parameter:

none

Return :

void

Dalam berkas:

app/site/themes/wpfd-single.php baris 10

jalur_sebenar_file_pratinjau_yang_dihasilkan_wpfd

Filter memungkinkan untuk melakukan apa saja dengan file pratinjau yang dihasilkan

Parameter:

string

Return :

void

Dalam berkas:

app/admin/models/generatepreview.php baris 847

wpfd_get_content_dir

Filter untuk mengubah direktori konten kustom. Default: 'wp-file-download'

Parameter:

string The current custom content dir string.

Return :

boolean

Dalam berkas:

app/functions.php baris 86

wpfd_get_support_cloud

Filter pengembalian platform cloud yang didukung. Diperlukan untuk mendeteksi dari mana kategori/file berasal

Parameter:

array Cloud platform list

Return :

array

Dalam berkas:

app/functions.php baris 1019

wpfd_get_template

Izinkan filter plugin pihak ketiga

Parameter:

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

Return :

string

Dalam berkas:

app/functions.php baris 870

file_indeks_wpfd

Filter untuk menambahkan konten file pada indeks

Parameter:

array ChunksWP_Post Post object

Return :

void

Dalam berkas:

app/admin/models/fts.php baris 1174

wpfd_locate_template

Filter pada jalur templat yang ditemukan saat pengembalian

Parameter:

string Template pathstring Template namestring Template path dir

Return :

void

Dalam berkas:

app/functions.php baris 832

tema_lokasi_wpfd

Filter pada jalur templat yang ditemukan saat pengembalian

Parameter:

string Template pathstring Template namestring Template path dir

Return :

void

Dalam berkas:

app/functions.php baris 957

wpfd_not_authorized_redirect_url

Filter untuk mengarahkan pengguna ketika mereka tidak berwenang untuk mengunduh file saat ini

Parameter:

string

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 273app/site/init.php baris 1084

wpfd_not_authorized_redirect_url

Filter untuk mengarahkan pengguna ketika mereka tidak berwenang untuk mengunduh file saat ini

Parameter:

string

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 273app/site/init.php baris 1084

wpfd_password_expires

Memfilter masa berlaku cookie kata sandi postingan. Secara default, cookie kedaluwarsa 10 hari sejak pembuatan. Untuk mengubahnya menjadi cookie sesi, kembalikan 0.

Parameter:

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

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 1330

formulir_kata_sandi_wpfd

Memfilter output HTML untuk formulir kata sandi postingan yang dilindungi. Jika memodifikasi kolom kata sandi, harap perhatikan bahwa skema basis data inti membatasi kolom kata sandi hingga 20 karakter terlepas dari nilai atribut size pada input formulir.

Parameter:

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

Return :

void

Dalam berkas:

app/functions.php baris 3475

direktori_file_pratinjau_wpfd

Filter untuk mengubah direktori dokumen pratinjau

Parameter:

string

Return :

void

Dalam berkas:

app/admin/classes/WpfdBase.php baris 90

wpfd_preview_service_url

Filter untuk mengubah URL layanan pratinjau

Parameter:

string Preview url with %s placeholder for url

Return :

string

Dalam berkas:

app/site/helpers/WpfdHelperFile.php baris 121

wpfd_preview_url

Filter untuk mengubah URL pratinjau

Parameter:

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

Return :

string

Dalam berkas:

app/site/helpers/WpfdHelperFile.php baris 132

jalur_abs_nyata_wpfd

Filter untuk memperbaiki ABSPATH yang salah di beberapa hosting/server

Parameter:

string

Return :

void

Dalam berkas:

app/functions.php baris 1160

wpfd_remove_download_zip_file_from_server

Filter untuk menghapus file zip dari server

Parameter:

boolean

Return :

void

Dalam berkas:

app/site/controllers/files.php baris 94

wpfd_remove_expired_preview_file_time

Filter untuk mengatur waktu default penghapusan file pratinjau yang kedaluwarsa

Parameter:

integer|mixed

Return :

void

Dalam berkas:

app/admin/init.php baris 1209

wpfd_search_login_required

Filter untuk memeriksa login untuk file pencarian

Parameter:

none

Return :

boolean

Dalam berkas:

app/site/helpers/WpfdHelperShortcodes.php baris 2342

hasil_pencarian_wpfd

Filter untuk hasil pencarian

Parameter:

array Files resultsarray Search filters

Return :

array

Dalam berkas:

app/site/models/search.php baris 607

panjang_judul_file_hasil_pencarian_wpfd

Izinkan untuk mengubah panjang file pada hasil pencarian

Parameter:

integer

Return :

void

Dalam berkas:

app/site/models/search.php baris 871

wpfd_search_results_order

Arah urutan hasil pencarian

Parameter:

string

Return :

void

Dalam berkas:

app/site/models/search.php baris 251

wpfd_search_results_orderby

Hasil pencarian diurutkan berdasarkan

Parameter:

string

Return :

void

Dalam berkas:

app/site/models/search.php baris 244

wpfd_search_results_orderby_relevance

Gunakan filter untuk mengurutkan file berdasarkan relevansi kata kunci.

Parameter:

boolean

Return :

boolean

Dalam berkas:

app/site/views/search/view.php baris 275

wpfd_search_tags_relation

Filter memungkinkan untuk mengubah hubungan antar tag

Parameter:

string

Return :

void

Dalam berkas:

app/site/models/search.php baris 132app/admin/models/files.php baris 449

wpfd_search_tags_relation

Filter memungkinkan untuk mengubah hubungan antar tag

Parameter:

string

Return :

void

Dalam berkas:

app/site/models/search.php baris 132app/admin/models/files.php baris 449

wpfd_selected_file

Filter file yang dipilih untuk diunduh

Parameter:

array

Return :

void

Dalam berkas:

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

wpfd_selected_file

Filter file yang dipilih untuk diunduh

Parameter:

array

Return :

void

Dalam berkas:

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

wpfd_file_terpilih

Filter untuk file yang dipilih untuk diunduh

Parameter:

array

Return :

void

Dalam berkas:

app/site/controllers/files.php baris 87

wpfd_show_upload_form_reverse

Filter untuk mengubah formulir unggahan

Parameter:

boolean

Return :

void

Dalam berkas:

app/site/themes/wpfd-table/tpl.php baris 252app/site/themes/wpfd-tree/tpl.php baris 268app/site/themes/wpfd-default/tpl.php baris 262app/site/themes/wpfd-ggd/tpl.php baris 238app/site/themes/wpfd-preview/tpl.php baris 241app/site/views/files/view.php baris 474

wpfd_statistik_filter_oleh

Filter statistik berdasarkan

Parameter:

array

Return :

void

Dalam berkas:

app/admin/views/statistics/tpl/filters.php baris 41

wpfd_statistik_filter_berdasarkan_placeholder

Filter statistik berdasarkan placeholder

Parameter:

array

Return :

void

Dalam berkas:

app/admin/views/statistics/tpl/filters.php baris 48

wpfd_statistics_get_selection_arguments

Statistik mendapatkan argumen nilai seleksi

Parameter:

array string string

Return :

void

Dalam berkas:

app/admin/models/statistics.php baris 194

wpfd_statistics_get_selection_posts_clauses

Statistik mendapatkan klausul posisi seleksi

Parameter:

array string string

Return :

void

Dalam berkas:

app/admin/models/statistics.php baris 378

wpfd_statistik_mendapatkan_nilai_pilihan

Statistik mendapatkan nilai seleksi

Parameter:

array string

Return :

void

Dalam berkas:

app/admin/models/statistics.php baris 121

tipe_statistik_wpfd

Ubah jenis statistik

Parameter:

string string string

Return :

void

Dalam berkas:

app/admin/models/statistics.php baris 387

waktu_aktif_token_wpfd

Filter untuk mengubah masa berlaku token

Parameter:

int Token live time in seconds

Return :

int

Dalam berkas:

app/site/models/tokens.php baris 123app/site/models/tokens.php baris 170app/functions.php baris 1820

hari_sampah_wpfd

Filter untuk mengubah jumlah hari folder sampah

Parameter:

array The list of days

Return :

array

Dalam berkas:

app/admin/forms/fields_v2/Trash.php baris 104

direktori_unggah_wpfd

Filter memungkinkan untuk mengubah direktori unggahan file

Parameter:

string

Return :

void

Dalam berkas:

app/admin/classes/WpfdBase.php baris 55

wpfd_user_can

Filter memeriksa kemampuan pengguna saat ini untuk mengelola file

Parameter:

boolean The current user has the given capabilitystring Action name

Return :

boolean

Dalam berkas:

app/admin/classes/install-wizard/install-wizard.php baris 59app/functions.php baris 1199app/functions.php baris 1216app/functions.php baris 1260app/functions.php baris 1280app/functions.php baris 1300app/functions.php baris 1320app/functions.php baris 1370app/functions.php baris 1420jutranslation/jutranslation.php baris 100

wpfd_user_can

Filter memeriksa kemampuan pengguna saat ini untuk mengedit pengaturan izin

Parameter:

boolean The current user has the given capabilitystring Action name

Return :

boolean

Dalam berkas:

app/admin/classes/install-wizard/install-wizard.php baris 59app/functions.php baris 1199app/functions.php baris 1216app/functions.php baris 1260app/functions.php baris 1280app/functions.php baris 1300app/functions.php baris 1320app/functions.php baris 1370app/functions.php baris 1420jutranslation/jutranslation.php baris 100

wpfd_wc_validate_required_fields

Filter untuk memvalidasi kolom yang wajib diisi

Parameter:

boolean

Return :

void

Dalam berkas:

app/admin/init.php baris 505

wpfd_wpml_download_language

Filter untuk menyesuaikan bahasa unduhan

Parameter:

boolean

Return :

void

Dalam berkas:

app/site/models/filesfront.php baris 334app/site/models/filefront.php baris 533

wpfd_wpml_download_language

Filter untuk menyesuaikan bahasa unduhan

Parameter:

boolean

Return :

void

Dalam berkas:

app/site/models/filesfront.php baris 334app/site/models/filefront.php baris 533

wpfd_you_dont_have_permission_redirect_url

Filter untuk mengarahkan pengguna ketika mereka tidak memiliki izin untuk mengunduh file saat ini

Parameter:

string

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 252app/site/init.php baris 1063

wpfd_you_dont_have_permission_redirect_url

Filter untuk mengarahkan pengguna ketika mereka tidak memiliki izin untuk mengunduh file saat ini

Parameter:

string

Return :

void

Dalam berkas:

app/site/controllers/file.php baris 252app/site/init.php baris 1063

wpfd_{$themeName}_back_button_handlebars

Filter untuk mengubah html dan argumen tombol kembali Handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2609

wpfd_{$themeName}_category_description

Filter global untuk mengubah HTML dan argumen deskripsi kategori

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2812app/site/themes/templates/wpfd-theme.class.php baris 2825

wpfd_{$themeName}_category_description

Filter untuk mengubah HTML dan argumen deskripsi kategori

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2812app/site/themes/templates/wpfd-theme.class.php baris 2825

wpfd_{$themeName}_category_description_handlebars

Filter untuk mengubah html dan argumen deskripsi kategori handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2778

wpfd_{$themeName}_category_item

Filter global untuk mengubah HTML dan argumen item kategori

Parameter:

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

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2978app/site/themes/templates/wpfd-theme.class.php baris 2992

wpfd_{$themeName}_category_item

Filter untuk mengubah HTML dan argumen item kategori

Parameter:

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

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2978app/site/themes/templates/wpfd-theme.class.php baris 2992

wpfd_{$themeName}_category_item_handlebars

Filter untuk mengubah html dan argumen item kategori handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2886

wpfd_{$themeName}_category_title

Filter untuk mengubah HTML dan argumen judul kategori

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2731

wpfd_{$themeName}_category_title_handlebars

Filter untuk mengubah html dan argumen judul kategori handlebars

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2664

wpfd_{$themeName}_category_tree

Filter untuk mengubah HTML dan argumen dari pohon kategori

Parameter:

array Template arrayobject Current theme objectarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 3049

wpfd_{$themeName}_column_created_header_html

Filter untuk mengubah header HTML kolom tanggal pembuatan

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 1057

wpfd_{$themeName}_column_custom_fields_header_html

Filter untuk mengubah header HTML kolom bidang kustom

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 1130

wpfd_{$themeName}_column_description_header_html

Filter untuk mengubah header HTML kolom deskripsi

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 872app/site/themes/wpfd-table/theme.php baris 906app/site/themes/wpfd-table/theme.php baris 1226

wpfd_{$themeName}_column_description_header_html

Filter untuk mengubah header HTML kolom deskripsi

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 872app/site/themes/wpfd-table/theme.php baris 906app/site/themes/wpfd-table/theme.php baris 1226

wpfd_{$themeName}_column_description_header_html

Filter untuk mengubah header HTML kolom deskripsi

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 872app/site/themes/wpfd-table/theme.php baris 906app/site/themes/wpfd-table/theme.php baris 1226

wpfd_{$themeName}_column_download_header_html

Filter untuk mengubah header HTML kolom unduhan

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 1169

wpfd_{$themeName}_column_hits_header_html

Filter untuk mengubah header HTML kolom hits

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 1020

wpfd_{$themeName}_column_modified_header_html

Filter untuk mengubah header HTML kolom tanggal modifikasi

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 1095

wpfd_{$themeName}_column_size_header_html

Filter untuk mengubah header HTML kolom ukuran

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 982

wpfd_{$themeName}_column_title_header_html

Filter untuk mengubah header HTML kolom judul

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 834

wpfd_{$themeName}_column_version_header_html

Filter untuk mengubah header HTML kolom versi

Parameter:

string Header html

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 944

wpfd_{$themeName}_content_wrapper

Filter untuk mengubah output pembungkus konten

Parameter:

string Content wrapperobject Current theme object

Return :

string

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 815

wpfd_{$themeName}_content_wrapper_input

Filter untuk mencetak input tersembunyi di bawah pembungkus konten

Parameter:

string Input htmlobject Current theme object

Return :

string

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 842

wpfd_{$themeName}_file_download_button_args

Filter untuk mengubah HTML dan argumen tombol unduh

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2241

wpfd_{$themeName}_file_download_button_handlebars_args

Filter untuk mengubah HTML dan argumen tombol unduh Handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2167

wpfd_{$themeName}_file_info_created_args

Filter untuk mengubah html dan argumen dari yang dibuat

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1590

wpfd_{$themeName}_file_info_created_handlebars_args

Filter untuk mengubah html dan argumen dari handlebars yang dibuat

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1539

wpfd_{$themeName}_file_info_custom_fields_args

Filter untuk mengubah HTML dan argumen bidang kustom

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1758

wpfd_{$themeName}_file_info_custom_fields_handlebars_args

Filter untuk mengubah HTML dan argumen bidang kustom Handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1805

wpfd_{$themeName}_file_info_description_args

Filter untuk mengubah HTML dan argumen deskripsi

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1134

wpfd_{$themeName}_file_info_description_handlebars_args

Filter untuk mengubah html dan argumen deskripsi handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1084

wpfd_{$themeName}_file_info_hits_args

Filter untuk mengubah HTML dan argumen dari hasil pencarian

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1490

wpfd_{$themeName}_file_info_hits_handlebars_args

Filter untuk mengubah html dan argumen dari hits handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1439

wpfd_{$themeName}_file_info_icon_hanlebars

Filter untuk mengubah ikon HTML untuk template Handlebars

Parameter:

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 302app/site/themes/templates/wpfd-theme.class.php baris 1846app/site/themes/templates/wpfd-theme.class.php baris 1859app/site/themes/wpfd-preview/theme.php baris 173

wpfd_{$themeName}_file_info_icon_hanlebars

Filter untuk mengubah ikon HTML untuk template Handlebars

Parameter:

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 302app/site/themes/templates/wpfd-theme.class.php baris 1846app/site/themes/templates/wpfd-theme.class.php baris 1859app/site/themes/wpfd-preview/theme.php baris 173

wpfd_{$themeName}_file_info_icon_html

Filter untuk mengubah ikon html

Parameter:

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

Return :

string

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 409app/site/themes/templates/wpfd-theme.class.php baris 1917

wpfd_{$themeName}_file_info_modified_args

Filter untuk mengubah html dan argumen yang dimodifikasi

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1693

wpfd_{$themeName}_file_info_modified_handlebars_args

Filter untuk mengubah html dan argumen dari handlebars yang dimodifikasi

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1639

wpfd_{$themeName}_file_info_size_args

Filter untuk mengubah html dan argumen ukuran

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1390

wpfd_{$themeName}_file_info_size_handlebars_args

Filter untuk mengubah html dan argumen ukuran handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1338

wpfd_{$themeName}_file_info_title_args

Filter untuk mengubah html dan argumen judul

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 461app/site/themes/templates/wpfd-theme.class.php baris 2074

wpfd_{$themeName}_file_info_title_handlebars_args

Filter untuk mengubah html dan argumen judul handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/wpfd-table/theme.php baris 351app/site/themes/templates/wpfd-theme.class.php baris 1994

wpfd_{$themeName}_file_info_version_args

Filter untuk mengubah html dan argumen versi

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1289

wpfd_{$themeName}_file_info_version_handlebars_args

Filter untuk mengubah html dan argumen versi handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 1235

wpfd_{$themeName}_file_open_pdf_button_args

Filter untuk mengubah HTML dan argumen tombol buka PDF

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2461

wpfd_{$themeName}_file_open_pdf_button_handlebars_args

Filter untuk mengubah html dan argumen tombol buka pdf handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2323

wpfd_{$themeName}_file_preview_button_args

Filter untuk mengubah HTML dan argumen tombol pratinjau

Parameter:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2512

wpfd_{$themeName}_file_preview_button_handlebars_args

Filter untuk mengubah html dan argumen tombol pratinjau handlebars

Parameter:

array Template arrayarray Main configarray Current category config

Return :

array

Dalam berkas:

app/site/themes/templates/wpfd-theme.class.php baris 2369

Composer

logo komposer Berikut solusi untuk menggunakan plugin kami sebagai dependensi Composer. Anda harus mendeklarasikan repositori Joomunited di file composer.json Anda, pastikan untuk mengganti YOUR_TOKEN di URL dengan token Anda sendiri. Anda dapat menemukannya di https://www.joomunited.com/my-account/my-membership di bagian Composer . {    "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"    } }

Atur kunci pembaruan secara terprogram dengan WP CLI

Gunakan kunci yang sama yang Anda gunakan untuk instalasi Composer dan jalankan perintah Composer ini untuk mengatur token pembaruan. wp option update ju_user_token "YOUR_TOKEN"