Skip to main content

เอกสารประกอบการพัฒนา WP File Download

เอกสารนี้จะช่วยให้นักพัฒนาที่มีประสบการณ์สามารถเชื่อมต่อบริการอื่นๆ กับปลั๊กอินของเราได้ นี่คือการทำงานและตัวกรองทั้งหมดสำหรับปลั๊กอินนี้ หากคุณต้องการอะไรเพิ่มเติม โปรดสอบถามได้โดยใช้ ฟอรัมเฉพาะ ขอบคุณที่ใช้ปลั๊กอินของเรา!

นำเข้า_เทอร์มินัล_เมตา

ฟังก์ชันนี้ทำงานหลังจากนำเข้าข้อมูลเมตาของเทอมแล้ว.

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/admin/classes/import/class-wp-import.php บรรทัดที่ 401

wpdf_admin_notices

ขั้นตอนการเขียนประกาศนำเข้า

พารามิเตอร์ :

none

Return :

void

ในไฟล์ :

app/admin/views/config/tpl/ui-default.php บรรทัดที่ 50app/admin/views/wpfd/tpl/ui-default.php บรรทัดที่ 153app/admin/views/iconsbuilder/tpl/default.php บรรทัดที่ 50

wpfd_addon_stream_file_pdf_embed

การเปิดใช้งานฟังก์ชันเมื่ออ่านไฟล์ PDF บนคลาวด์โดยตรง

พารามิเตอร์ :

integer|string $fileId Cloud file idstring $categoryFrom Category sourcestring $url Url embed

Return :

void

ในไฟล์ :

app/site/init.php บรรทัดที่ 224

คำอธิบายเวอร์ชันการอัปเดตส่วนเสริม wpfd

ดำเนินการอัปเดตเวอร์ชันและคำอธิบายหลังจากคัดลอก

พารามิเตอร์ :

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

ในไฟล์ :

app/admin/controllers/files.php บรรทัดที่ 950app/admin/controllers/files.php บรรทัดที่ 1043app/admin/controllers/files.php บรรทัดที่ 2765app/admin/controllers/files.php บรรทัดที่ 1076app/admin/controllers/files.php บรรทัดที่ 1382app/admin/controllers/files.php บรรทัดที่ 1884app/admin/controllers/files.php บรรทัดที่ 3176app/admin/controllers/files.php บรรทัดที่ 3667app/admin/controllers/files.php บรรทัดที่ 1138app/admin/controllers/files.php บรรทัดที่ 2168app/admin/controllers/files.php บรรทัดที่ 2842app/admin/controllers/files.php บรรทัดที่ 3978app/admin/controllers/files.php บรรทัดที่ 1197app/admin/controllers/files.php บรรทัดที่ 1321app/admin/controllers/files.php บรรทัด 1644app/admin/controllers/files.php บรรทัด 2902app/admin/controllers/files.php บรรทัด 3043app/admin/controllers/files.php บรรทัด 3380app/admin/controllers/files.php บรรทัด 1260app/admin/controllers/files.php บรรทัด 1764app/admin/controllers/files.php บรรทัด 2293app/admin/controllers/files.php บรรทัด 2970app/admin/controllers/files.php บรรทัด 4108app/admin/controllers/files.php บรรทัด 1441app/admin/controllers/files.php บรรทัด 1549app/admin/controllers/files.php บรรทัด 3105app/admin/controllers/files.php บรรทัด 3519app/admin/controllers/files.php บรรทัดที่ 1515app/admin/controllers/files.php บรรทัดที่ 3262app/admin/controllers/files.php บรรทัดที่ 1582app/admin/controllers/files.php บรรทัดที่ 1943app/admin/controllers/files.php บรรทัดที่ 3593app/admin/controllers/files.php บรรทัดที่ 3725app/admin/controllers/files.php บรรทัดที่ 1707app/admin/controllers/files.php บรรทัดที่ 1823app/admin/controllers/files.php บรรทัดที่ 2421app/admin/controllers/files.php บรรทัดที่ 2017app/admin/controllers/files.php บรรทัดที่ 2094app/admin/controllers/files.php บรรทัดที่ 2228app/admin/controllers/files.php บรรทัดที่ 2355app/admin/controllers/files.php บรรทัดที่ 2484app/admin/controllers/files.php บรรทัดที่ 4039app/admin/controllers/files.php บรรทัดที่ 4181app/admin/controllers/files.php บรรทัดที่ 4323app/admin/controllers/files.php บรรทัดที่ 2679app/admin/controllers/files.php บรรทัดที่ 3309app/admin/controllers/files.php บรรทัดที่ 3446app/admin/controllers/files.php บรรทัดที่ 4249app/admin/controllers/files.php บรรทัดที่ 3813app/admin/controllers/files.php บรรทัดที่ 3845

คำอธิบายเวอร์ชันการอัปเดตส่วนเสริม wpfd

ดำเนินการอัปเดตเวอร์ชันและคำอธิบายหลังจากคัดลอก

พารามิเตอร์ :

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

ในไฟล์ :

app/admin/controllers/files.php บรรทัดที่ 950app/admin/controllers/files.php บรรทัดที่ 1043app/admin/controllers/files.php บรรทัดที่ 2765app/admin/controllers/files.php บรรทัดที่ 1076app/admin/controllers/files.php บรรทัดที่ 1382app/admin/controllers/files.php บรรทัดที่ 1884app/admin/controllers/files.php บรรทัดที่ 3176app/admin/controllers/files.php บรรทัดที่ 3667app/admin/controllers/files.php บรรทัดที่ 1138app/admin/controllers/files.php บรรทัดที่ 2168app/admin/controllers/files.php บรรทัดที่ 2842app/admin/controllers/files.php บรรทัดที่ 3978app/admin/controllers/files.php บรรทัดที่ 1197app/admin/controllers/files.php บรรทัดที่ 1321app/admin/controllers/files.php บรรทัด 1644app/admin/controllers/files.php บรรทัด 2902app/admin/controllers/files.php บรรทัด 3043app/admin/controllers/files.php บรรทัด 3380app/admin/controllers/files.php บรรทัด 1260app/admin/controllers/files.php บรรทัด 1764app/admin/controllers/files.php บรรทัด 2293app/admin/controllers/files.php บรรทัด 2970app/admin/controllers/files.php บรรทัด 4108app/admin/controllers/files.php บรรทัด 1441app/admin/controllers/files.php บรรทัด 1549app/admin/controllers/files.php บรรทัด 3105app/admin/controllers/files.php บรรทัด 3519app/admin/controllers/files.php บรรทัดที่ 1515app/admin/controllers/files.php บรรทัดที่ 3262app/admin/controllers/files.php บรรทัดที่ 1582app/admin/controllers/files.php บรรทัดที่ 1943app/admin/controllers/files.php บรรทัดที่ 3593app/admin/controllers/files.php บรรทัดที่ 3725app/admin/controllers/files.php บรรทัดที่ 1707app/admin/controllers/files.php บรรทัดที่ 1823app/admin/controllers/files.php บรรทัดที่ 2421app/admin/controllers/files.php บรรทัดที่ 2017app/admin/controllers/files.php บรรทัดที่ 2094app/admin/controllers/files.php บรรทัดที่ 2228app/admin/controllers/files.php บรรทัดที่ 2355app/admin/controllers/files.php บรรทัดที่ 2484app/admin/controllers/files.php บรรทัดที่ 4039app/admin/controllers/files.php บรรทัดที่ 4181app/admin/controllers/files.php บรรทัดที่ 4323app/admin/controllers/files.php บรรทัดที่ 2679app/admin/controllers/files.php บรรทัดที่ 3309app/admin/controllers/files.php บรรทัดที่ 3446app/admin/controllers/files.php บรรทัดที่ 4249app/admin/controllers/files.php บรรทัดที่ 3813app/admin/controllers/files.php บรรทัดที่ 3845

wpfd_admin_after_file_title_field

การกระทำที่เกิดขึ้นหลังจากช่องชื่อเรื่อง

พารามิเตอร์ :

string Current file information

Return :

void

ในไฟล์ :

app/admin/forms/file.xml บรรทัดที่ 60

wpfd_after_bottom_file_save_settings

การกระทำที่เกิดขึ้นหลังจากกดปุ่มบันทึกการตั้งค่าไฟล์ด้านล่าง

พารามิเตอร์ :

string Current file information

Return :

void

ในไฟล์ :

app/admin/forms/file.xml บรรทัดที่ 261

การตั้งค่าหลักของ wpfd_after_category

ดำเนินการหลังจากตั้งค่าหลักของหมวดหมู่ในแผงด้านขวา

พารามิเตอร์ :

integer Current category id

Return :

void

ในไฟล์ :

app/admin/views/category/tpl/default.php บรรทัดที่ 185

wpfd_after_create_new_category

การดำเนินการหลังจากสร้างหมวดหมู่ใหม่

พารามิเตอร์ :

integer New category idstring Category created name

Return :

void

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 89

wpfd_after_fieldset_category_main_settings

การดำเนินการจะทำงานหลังจากตั้งค่าหลักของหมวดหมู่ในช่องด้านขวา

พารามิเตอร์ :

integer Current category id

Return :

void

ในไฟล์ :

app/admin/views/category/tpl/default.php บรรทัดที่ 194

wpfd_after_single_file_info

การดำเนินการจะเริ่มหลังจากแสดงข้อมูลไฟล์ในการแสดงไฟล์เดียว

พารามิเตอร์ :

object File object

Return :

void

ในไฟล์ :

app/site/themes/templates/tpl-single.php บรรทัดที่ 75

wpfd_after_template_part

การกระทำที่เกิดขึ้นหลังจากส่วนของเทมเพลตที่เรียกว่า

พารามิเตอร์ :

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 891

การตั้งค่าหลักของ wpfd_before_category

ดำเนินการก่อนการตั้งค่าหลักของหมวดหมู่ในแผงด้านขวา

พารามิเตอร์ :

integer Current category id

Return :

void

ในไฟล์ :

app/admin/views/category/tpl/default.php บรรทัดที่ 95

wpfd_before_fieldset_category_main_settings

ดำเนินการก่อนตั้งค่าฟิลด์การตั้งค่าหลักของหมวดหมู่ในแผงด้านขวา

พารามิเตอร์ :

integer Current category id

Return :

void

ในไฟล์ :

app/admin/views/category/tpl/default.php บรรทัดที่ 64

wpfd_before_index_remove

ดำเนินการยิงก่อนลบดัชนี

พารามิเตอร์ :

integer Post id

Return :

void

ในไฟล์ :

app/admin/models/fts.php บรรทัดที่ 1088

wpfd_before_single_file_info

การดำเนินการจะทำงานก่อนข้อมูลไฟล์ในการแสดงไฟล์เดียว

พารามิเตอร์ :

object File object

Return :

void

ในไฟล์ :

app/site/themes/templates/tpl-single.php บรรทัดที่ 59

wpfd_before_template_part

การกระทำก่อนส่วนของเทมเพลตที่เรียกว่า

พารามิเตอร์ :

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 879

สิทธิ์ในการดาวน์โหลดไฟล์ wpfd_download_file_permission

การดำเนินการนี้จะเกิดขึ้นเมื่อผู้ใช้ปัจจุบันไม่มีสิทธิ์เพียงพอในการดาวน์โหลดไฟล์.

พารามิเตอร์ :

string|integer string|integer integer

Return :

void

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 49app/site/controllers/file.php บรรทัดที่ 72

สิทธิ์ในการดาวน์โหลดไฟล์ wpfd_download_file_permission

การดำเนินการนี้จะเกิดขึ้นเมื่อผู้ใช้ปัจจุบันไม่มีสิทธิ์เพียงพอในการดาวน์โหลดไฟล์.

พารามิเตอร์ :

string|integer string|integer integer

Return :

void

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 49app/site/controllers/file.php บรรทัดที่ 72

ลิงก์ดาวน์โหลด wpfd หมดอายุแล้ว

การดำเนินการสำหรับหน้าดาวน์โหลดที่หมดอายุ

พารามิเตอร์ :

string|integer string|integer integer

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 112

wpfd_ไฟล์_ลบแล้ว

การดำเนินการจะเกิดขึ้นหลังจากลบไฟล์

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/admin/controllers/file.php บรรทัดที่ 963app/admin/controllers/file.php บรรทัดที่ 1064app/admin/controllers/file.php บรรทัดที่ 1521

wpfd_file_download

ดำเนินการทันทีก่อนดาวน์โหลดไฟล์ ห้ามใช้คำสั่ง echo ใดๆ ตรงนี้ มิเช่นนั้นไฟล์ดาวน์โหลดจะเสียหาย

พารามิเตอร์ :

object File idarray Source

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 409app/site/controllers/file.php บรรทัดที่ 495app/site/controllers/file.php บรรทัดที่ 602app/site/controllers/file.php บรรทัดที่ 680app/site/controllers/file.php บรรทัดที่ 756app/site/controllers/file.php บรรทัดที่ 798app/site/controllers/file.php บรรทัดที่ 821app/site/controllers/file.php บรรทัดที่ 913

wpfd_file_download

ดำเนินการทันทีก่อนดาวน์โหลดไฟล์ ห้ามใช้คำสั่ง echo ใดๆ ตรงนี้ มิเช่นนั้นไฟล์ดาวน์โหลดจะเสียหาย

พารามิเตอร์ :

object File idarray Source

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 409app/site/controllers/file.php บรรทัดที่ 495app/site/controllers/file.php บรรทัดที่ 602app/site/controllers/file.php บรรทัดที่ 680app/site/controllers/file.php บรรทัดที่ 756app/site/controllers/file.php บรรทัดที่ 798app/site/controllers/file.php บรรทัดที่ 821app/site/controllers/file.php บรรทัดที่ 913

wpfd_file_indexed

ดำเนินการหลังจากไฟล์ได้รับการจัดทำดัชนีแล้ว

พารามิเตอร์ :

integer Inserted post idarray Post content to index

Return :

void

ในไฟล์ :

app/admin/models/fts.php บรรทัดที่ 1190

wpfd_file_uploaded

ดำเนินการหลังจากอัปโหลดไฟล์เสร็จ

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/admin/models/files.php บรรทัดที่ 1507

wpfd_generate_preview_after_merge_image_vertical

ดำเนินการยิงหลังจากรวมภาพแนวตั้ง

พารามิเตอร์ :

string $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model

Return :

void

ในไฟล์ :

app/admin/models/generatepreview.php บรรทัดที่ 1097

wpfd_generate_preview_after_resize_thumbnail

ไฟล์แอ็กชันหลังจากปรับขนาดภาพขนาดย่อ

พารามิเตอร์ :

string $fileName Thumbnail file path

Return :

void

ในไฟล์ :

app/admin/models/generatepreview.php บรรทัดที่ 976

wpfd_generate_preview_before_merge_image_vertical

ดำเนินการก่อนรวมภาพแนวตั้ง

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/admin/models/generatepreview.php บรรทัดที่ 1001

สิทธิ์ในการดูไฟล์ wpfd_preview_

การดำเนินการนี้จะเกิดขึ้นเมื่อผู้ใช้ปัจจุบันไม่มีสิทธิ์เพียงพอในการดูตัวอย่างไฟล์นี้.

พารามิเตอร์ :

string|integer string|integer integer

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 100app/site/helpers/WpfdHelperShortcodes.php บรรทัดที่ 4374

สิทธิ์ในการดูไฟล์ wpfd_preview_

การดำเนินการนี้จะเกิดขึ้นเมื่อผู้ใช้ปัจจุบันไม่มีสิทธิ์เพียงพอในการดูตัวอย่างไฟล์นี้.

พารามิเตอร์ :

string|integer string|integer integer

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 100app/site/helpers/WpfdHelperShortcodes.php บรรทัดที่ 4374

wpfd_preview_generated

ดำเนินการยิงหลังจากบันทึกภาพขนาดย่อ/ภาพตัวอย่างแล้ว

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/admin/models/generatepreview.php บรรทัดที่ 438app/admin/models/generatepreview.php บรรทัดที่ 584app/admin/models/generatepreview.php บรรทัดที่ 788

wpfd_save_category

ดำเนินการยิงหลังจากบันทึกพารามิเตอร์หมวดหมู่

พารามิเตอร์ :

integer Term idarray Category params

Return :

void

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 398

ปุ่มบันทึกการตั้งค่าหมวดหมู่ wpfd_save_category_settings_button

ดำเนินการก่อนกดปุ่มบันทึกหมวดหมู่ในแผงด้านขวา

พารามิเตอร์ :

integer Current category id

Return :

void

ในไฟล์ :

app/admin/views/category/tpl/default.php บรรทัดที่ 405

wpfd_save_file_params

หลังจากบันทึกข้อมูลไฟล์ลงในฐานข้อมูลเรียบร้อยแล้ว

พารามิเตอร์ :

array File data array

Return :

void

ในไฟล์ :

app/admin/models/file.php บรรทัดที่ 192

wpfd_update_category_color

อัปเดตสีหมวดหมู่

พารามิเตอร์ :

integer Term id to change colorstring New category color

Return :

void

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 332app/admin/controllers/category.php บรรทัดที่ 803app/admin/controllers/category.php บรรทัดที่ 944

wpfd_update_category_color

อัปเดตสีหมวดหมู่

พารามิเตอร์ :

integer Term id to change colorstring New category color

Return :

void

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 332app/admin/controllers/category.php บรรทัดที่ 803app/admin/controllers/category.php บรรทัดที่ 944

wpfd_update_category_color

อัปเดตสีหมวดหมู่

พารามิเตอร์ :

integer Term id to change colorstring New category color

Return :

void

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 332app/admin/controllers/category.php บรรทัดที่ 803app/admin/controllers/category.php บรรทัดที่ 944

คำอธิบายหมวดหมู่การอัปเดต wpfd

หลังจากอัปเดตสีหมวดหมู่แล้ว

พารามิเตอร์ :

integer Term id to change colorstring New category color

Return :

void

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 290

ชื่อหมวดหมู่การอัปเดต wpfd

อัปเดตชื่อหมวดหมู่

พารามิเตอร์ :

integer Term id to change namestring New category name

Return :

void

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 133

wpfd_{$themeName}_after_custom_hooks

การยิงแบบแอคชั่นหลังจากการเชื่อมต่อแบบกำหนดเอง

พารามิเตอร์ :

none

Return :

void

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 845

wpfd_{$themeName}_after_template_hooks

การยิงจะเกิดขึ้นหลังจากเชื่อมต่อเทมเพลตแล้ว

พารามิเตอร์ :

none

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/theme.php บรรทัดที่ 119app/site/themes/wpfd-preview/theme.php บรรทัดที่ 117app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 835app/site/themes/wpfd-tree/theme.php บรรทัดที่ 90

wpfd_{$themeName}_after_theme_content

ดำเนินการพิมพ์หลังจากเนื้อหาธีม

พารามิเตอร์ :

object Current theme instancearray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 316app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 319app/site/themes/wpfd-default/tpl.php บรรทัดที่ 340app/site/themes/wpfd-table/tpl.php บรรทัดที่ 298app/site/themes/templates/tpl-default.php บรรทัดที่ 219

wpfd_{$themeName}_before_files_loop

การดำเนินการก่อนวนลูปไฟล์

พารามิเตอร์ :

object Current theme paramsarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 229app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 230app/site/themes/wpfd-default/tpl.php บรรทัดที่ 195app/site/themes/wpfd-table/tpl.php บรรทัดที่ 146app/site/themes/templates/tpl-default.php บรรทัดที่ 139app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 221

wpfd_{$themeName}_before_files_loop_handlebars

การดำเนินการก่อนการวนซ้ำไฟล์ในเทมเพลต Handlebars

พารามิเตอร์ :

array Current theme paramsarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 121app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 121app/site/themes/wpfd-default/tpl.php บรรทัดที่ 47app/site/themes/wpfd-table/tpl.php บรรทัดที่ 36app/site/themes/templates/tpl-default.php บรรทัดที่ 43

wpfd_{$themeName}_before_template_hooks

การยิงก่อนการเชื่อมต่อเทมเพลต

พารามิเตอร์ :

none

Return :

void

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 700

wpfd_{$themeName}_before_theme_content

พิมพ์ก่อนเนื้อหาธีม

พารามิเตอร์ :

object Current theme params

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 101app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 101app/site/themes/wpfd-default/tpl.php บรรทัดที่ 27app/site/themes/wpfd-table/tpl.php บรรทัดที่ 106app/site/themes/templates/tpl-default.php บรรทัดที่ 25app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 204app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 351

wpfd_{$themeName}_buttons

การดำเนินการเพื่อแสดงปุ่ม

พารามิเตอร์ :

object Current file objectarray Global configarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-default/tpl.php บรรทัดที่ 284app/site/themes/wpfd-table/tpl.php บรรทัดที่ 237app/site/themes/templates/tpl-default.php บรรทัดที่ 198

wpfd_{$themeName}_buttons_handlebars

ปุ่มพิมพ์แอ็กชันในเทมเพลตแฮนด์จักรยาน

พารามิเตอร์ :

array $config Main configarray $params Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 83app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 83app/site/themes/wpfd-default/tpl.php บรรทัดที่ 123app/site/themes/wpfd-table/tpl.php บรรทัดที่ 84app/site/themes/templates/tpl-default.php บรรทัดที่ 101app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 84

wpfd_{$themeName}_columns

การดำเนินการเพื่อแสดงคอลัมน์

พารามิเตอร์ :

array Main configarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-table/tpl.php บรรทัดที่ 173

wpfd_{$themeName}_file_block

การดำเนินการเพื่อแสดงบล็อกไฟล์

พารามิเตอร์ :

object Current file objectarray Global configarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 256app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 259

wpfd_{$themeName}_file_block_handlebars

คำสั่งเพื่อแสดงบล็อกไฟล์ในเทมเพลต Handlebars

พารามิเตอร์ :

array Main configarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 154app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 156

wpfd_{$themeName}_file_content

การดำเนินการเพื่อแสดงเนื้อหาไฟล์

พารามิเตอร์ :

object Current file objectarray Global configarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-default/tpl.php บรรทัดที่ 243app/site/themes/templates/tpl-default.php บรรทัดที่ 161

wpfd_{$themeName}_file_content_handlebars

เนื้อหาไฟล์พิมพ์การดำเนินการในเทมเพลต Handlebars

พารามิเตอร์ :

array $config Main configarray $params Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 44app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 44app/site/themes/wpfd-default/tpl.php บรรทัดที่ 83app/site/themes/templates/tpl-default.php บรรทัดที่ 65app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 45

wpfd_{$themeName}_file_info

การดำเนินการเพื่อแสดงข้อมูลไฟล์

พารามิเตอร์ :

object Current file objectarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-default/tpl.php บรรทัดที่ 264app/site/themes/wpfd-table/tpl.php บรรทัดที่ 218app/site/themes/templates/tpl-default.php บรรทัดที่ 180

wpfd_{$themeName}_file_info_handlebars

คำสั่งเพื่อแสดงข้อมูลไฟล์ในเทมเพลต Handlebars

พารามิเตอร์ :

array Global configarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 65app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 65app/site/themes/wpfd-default/tpl.php บรรทัดที่ 104app/site/themes/wpfd-table/tpl.php บรรทัดที่ 64app/site/themes/templates/tpl-default.php บรรทัดที่ 84app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 66

wpfd_{$themeName}_folder_tree

การดำเนินการพิมพ์โครงสร้างโฟลเดอร์

พารามิเตอร์ :

object Current theme paramsarray Category config

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 209app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 210app/site/themes/wpfd-default/tpl.php บรรทัดที่ 175app/site/themes/wpfd-table/tpl.php บรรทัดที่ 126app/site/themes/templates/tpl-default.php บรรทัดที่ 122

_wpfd_preview_generate_queue_running_updating

ตัวกรองเพื่ออัปเดตคิวแสดงตัวอย่างที่กำลังทำงานอยู่

พารามิเตอร์ :

none

Return :

boolean

ในไฟล์ :

app/admin/views/config/view.php บรรทัดที่ 225

คีย์เมตานำเข้าเทอร์มินัล

กรองคีย์เมตาสำหรับข้อมูลเมตาของเทอมที่นำเข้า.

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/admin/classes/import/class-wp-import.php บรรทัดที่ 383

การส่งออกเนื้อหา

กรองเนื้อหาโพสต์ที่ใช้สำหรับการส่งออก WXR.

พารามิเตอร์ :

string $post_content Content of the current post.

Return :

void

ในไฟล์ :

app/admin/controllers/config.php บรรทัดที่ 1011

การส่งออกข้อความย่อ

กรองข้อความย่อของโพสต์ที่ใช้สำหรับการส่งออก WXR.

พารามิเตอร์ :

string $post_excerpt Excerpt for the current post.

Return :

void

ในไฟล์ :

app/admin/controllers/config.php บรรทัดที่ 1021

wp_import_term_meta

กรองข้อมูลเมตาที่แนบมากับคำศัพท์ที่นำเข้า.

พารามิเตอร์ :

array $termmeta Array of term meta.int $term_id ID of the newly created term.array $term Term data from the WXR import.

Return :

void

ในไฟล์ :

app/admin/classes/import/class-wp-import.php บรรทัดที่ 368

wpfd_

คลาสเพิ่มเติมสำหรับตาราง

พารามิเตอร์ :

array

Return :

void

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 219

wpfd_abs_path_to_url

กรองเพื่อเปลี่ยน URL สุดท้าย

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 1181

wpfd_addon_locker_mail_subscribe

กรองข้อมูลเพื่อสมัครใช้บริการตู้เก็บจดหมาย

พารามิเตอร์ :

none

Return :

array

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 640

wpfd_ajax_allowed_tasks

กรองงานต่างๆ ที่เปิดเผยผ่านตัวจัดการ AJAX ของ WPFD ที่ผ่านการตรวจสอบสิทธิ์แล้ว.

พารามิเตอร์ :

array $allowedTasks Allowed controller tasks.

Return :

void

ในไฟล์ :

app/admin/init.php บรรทัดที่ 389

wpfd_always_generate_breadcrumbs

ตั้งค่าตัวกรองให้สร้างเส้นทางนำทาง (breadcrumbs) เป็นค่าเริ่มต้นเสมอ

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/site/models/categoryfront.php บรรทัดที่ 58

wpfd_auto_create_private_folders

ตัวกรองเพื่อสร้างโฟลเดอร์ส่วนตัวโดยอัตโนมัติ

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/admin/init.php บรรทัดที่ 1633app/admin/init.php บรรทัดที่ 1799

wpfd_auto_create_private_folders

ตัวกรองเพื่อสร้างโฟลเดอร์ส่วนตัวโดยอัตโนมัติ

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/admin/init.php บรรทัดที่ 1633app/admin/init.php บรรทัดที่ 1799

wpfd_การแก้ไขอัตโนมัติ

ตัวกรองอนุญาตให้เปลี่ยนการแก้ไขอัตโนมัติ

พารามิเตอร์ :

string array

Return :

void

ในไฟล์ :

app/admin/controllers/files.php บรรทัดที่ 4646

รูปแบบวันที่แก้ไขอัตโนมัติ wpfd_automatic_revision_date_format

ตัวกรองอนุญาตให้เปลี่ยนรูปแบบวันที่ในการกำหนดเวอร์ชันอัตโนมัติ

พารามิเตอร์ :

string array

Return :

void

ในไฟล์ :

app/admin/controllers/files.php บรรทัดที่ 4608

wpfd_automatic_revision_enabled

ตัวกรองอนุญาตให้เปิดใช้งานเวอร์ชันอัตโนมัติ

พารามิเตอร์ :

boolean array

Return :

void

ในไฟล์ :

app/admin/controllers/files.php บรรทัดที่ 4562

wpfd_automatic_revision_increment_replacement

ตัวกรองอนุญาตให้เปลี่ยนการแทนที่สำหรับเวอร์ชันอัตโนมัติ

พารามิเตอร์ :

string array

Return :

void

ในไฟล์ :

app/admin/controllers/files.php บรรทัดที่ 4629

รูปแบบการแก้ไขอัตโนมัติ wpfd_

ตัวกรองอนุญาตให้เปลี่ยนรูปแบบเวอร์ชันอัตโนมัติ

พารามิเตอร์ :

string array

Return :

void

ในไฟล์ :

app/admin/controllers/files.php บรรทัดที่ 4575

wpfd_back_button_handlebars

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มย้อนกลับใน Handlebars

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2786

wpfd_before_save_category

กรองพารามิเตอร์หมวดหมู่ก่อนบันทึกลงฐานข้อมูล

พารามิเตอร์ :

array Category paramsinteger Term id

Return :

array

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 388

wpfd_before_save_file_metadata

ตัวกรองอนุญาตให้แก้ไขข้อมูลเมตาของไฟล์ก่อนบันทึกไปยังฐานข้อมูล

พารามิเตอร์ :

array File meta data array

Return :

array

ในไฟล์ :

app/admin/models/file.php บรรทัดที่ 182

wpfd_before_save_file_params

ตัวกรองอนุญาตให้แก้ไขข้อมูลไฟล์ก่อนบันทึกไปยังฐานข้อมูล

พารามิเตอร์ :

array File data array

Return :

array

ในไฟล์ :

app/admin/models/file.php บรรทัดที่ 107

wpfd_before_update_category_color

อัปเดตตัวกรองสีหมวดหมู่

พารามิเตอร์ :

string New category colorinteger Term id to change name

Return :

string|boolean

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 323

คำอธิบายหมวดหมู่ก่อนอัปเดต wpfd

คำอธิบายหมวดหมู่การอัปเดตตัวกรอง

พารามิเตอร์ :

string New category descriptioninteger Term id to change name

Return :

string|boolean

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 277

wpfd_before_update_category_name

อัปเดตชื่อหมวดหมู่ตัวกรอง

พารามิเตอร์ :

string New category nameinteger Term id to change name

Return :

string|boolean

ในไฟล์ :

app/admin/controllers/category.php บรรทัดที่ 125

wpfd_before_upload_file

กรองไฟล์ก่อนอัปโหลด

พารามิเตอร์ :

array File datainteger Current user id

Return :

array

ในไฟล์ :

app/admin/models/files.php บรรทัดที่ 1416

wpfd_can_access_plugin_cache_ttl

กรองเพื่อเปลี่ยนอายุการใช้งานของแคชสำหรับการตรวจสอบนี้.

พารามิเตอร์ :

integer

Return :

void

ในไฟล์ :

app/admin/helpers/WpfdHelperFolder.php บรรทัดที่ 483

wpfd_can_access_plugin_timeout

ตัวกรองเพื่อเปลี่ยนระยะเวลาหมดเวลาของการร้องขอ HTTP.

พารามิเตอร์ :

integer

Return :

void

ในไฟล์ :

app/admin/helpers/WpfdHelperFolder.php บรรทัดที่ 490

หมวดหมู่ wpfd_

อนุญาตให้กรองรายการหมวดหมู่ด้านหน้า

พารามิเตอร์ :

array

Return :

void

ในไฟล์ :

app/site/models/categoriesfront.php บรรทัดที่ 176

wpfd_categories_order

ตัวกรองช่วยให้สามารถเปลี่ยนลำดับการจัดเรียงของหมวดหมู่ได้

พารามิเตอร์ :

string

Return :

string

ในไฟล์ :

app/site/controllers/categories.php บรรทัดที่ 81app/site/models/categoriesfront.php บรรทัดที่ 53app/site/models/categoriesfront.php บรรทัดที่ 338app/site/models/categoriesfront.php บรรทัดที่ 393

wpfd_categories_orderby

ตัวกรองช่วยให้สามารถเปลี่ยนลำดับคอลัมน์ของหมวดหมู่ได้

พารามิเตอร์ :

string

Return :

string

ในไฟล์ :

app/site/controllers/categories.php บรรทัดที่ 90app/site/models/categoriesfront.php บรรทัดที่ 64app/site/models/categoriesfront.php บรรทัดที่ 349app/site/models/categoriesfront.php บรรทัดที่ 404

wpfd_category_description_handlebars

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบายหมวดหมู่ Handlebars

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2955

wpfd_category_item_handlebars

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ handlebars รายการหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3063

wpfd_category_loading_message

ตัวกรองอนุญาตให้เปิดใช้งานข้อความแสดงการโหลดหมวดหมู่

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2319app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 549

wpfd_category_loading_message

ตัวกรองอนุญาตให้เปิดใช้งานข้อความแสดงการโหลดหมวดหมู่

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2319app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 549

wpfd_category_title

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของชื่อหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2908

wpfd_category_title_handlebars

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars ชื่อหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2841

wpfd_category_tree

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของโครงสร้างหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3226

wpfd_category_tree_click_scroll_up

ตัวกรองนี้จะช่วยให้เมื่อคลิกที่โครงสร้างหมวดหมู่ ระบบจะเลื่อนขึ้นไปยังด้านบนสุดขององค์ประกอบนั้นโดยอัตโนมัติ

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2346app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 576

wpfd_category_tree_click_scroll_up

ตัวกรองนี้จะช่วยให้เมื่อคลิกที่โครงสร้างหมวดหมู่ ระบบจะเลื่อนขึ้นไปยังด้านบนสุดขององค์ประกอบนั้นโดยอัตโนมัติ

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2346app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 576

wpfd_category_tree_expanded

ตัวกรองช่วยให้สามารถขยายโครงสร้างหมวดหมู่บนส่วนหน้าได้

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2328app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 558

wpfd_category_tree_expanded

ตัวกรองช่วยให้สามารถขยายโครงสร้างหมวดหมู่บนส่วนหน้าได้

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2328app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 558

wpfd_category_tree_parent_expanded

ตัวกรองช่วยให้สามารถขยายโครงสร้างหมวดหมู่หลักบนส่วนหน้าได้

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2337app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 567

wpfd_category_tree_parent_expanded

ตัวกรองช่วยให้สามารถขยายโครงสร้างหมวดหมู่หลักบนส่วนหน้าได้

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2337app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 567

wpfd_check_special_char_editing

ใช้ตัวกรองเพื่อตรวจสอบอักขระพิเศษในการแก้ไข

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/admin/init.php บรรทัดที่ 689

wpfd_clean_interval

ตัวกรองเพื่อเปลี่ยนเวลาในการล้างขยะ จะแทนที่ค่าคงที่ WPFD_CLEAN_INTERVAL

พารามิเตอร์ :

$interval Time in second

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 1911

wpfd_custom_zip_folder_on_server

ตัวกรองสำหรับปรับแต่งโฟลเดอร์ดาวน์โหลดแบบซิป

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 67

wpfd_default_category_params

ตัวกรองช่วยให้สามารถตั้งค่าพารามิเตอร์เริ่มต้นสำหรับหมวดหมู่ใหม่ได้

พารามิเตอร์ :

array Default values: order, orderby, roles, private

Return :

array

ในไฟล์ :

app/site/models/categoryfront.php บรรทัดที่ 96app/site/models/categoriesfront.php บรรทัดที่ 565app/admin/models/category.php บรรทัดที่ 477

wpfd_default_category_visibility

ตัวกรองช่วยให้สามารถตั้งค่าการมองเห็นเริ่มต้นได้

พารามิเตอร์ :

array Default values: roles, private

Return :

array

ในไฟล์ :

app/functions.php บรรทัดที่ 2784

wpfd_file_download_button_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มดาวน์โหลด

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2417

wpfd_file_download_button_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มดาวน์โหลด Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2343

ข้อมูลไฟล์ wpfd_info

ข้อมูลไฟล์กรองด้านหน้า

พารามิเตอร์ :

object File object

Return :

object

ในไฟล์ :

app/site/models/filefront.php บรรทัดที่ 583app/site/models/filefront.php บรรทัดที่ 659app/site/models/filesfront.php บรรทัดที่ 660

wpfd_file_info_created_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของการสร้าง

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1688

wpfd_file_info_created_handlebars_args

ตัวกรองทั่วโลกสำหรับเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars ที่สร้างขึ้น

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1637

wpfd_file_info_custom_fields_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของฟิลด์ที่กำหนดเอง

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1855

wpfd_file_info_custom_fields_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของฟิลด์ที่กำหนดเอง Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1903

wpfd_file_info_description_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบาย

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1232

wpfd_file_info_description_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบาย Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1183

wpfd_file_info_hits_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของการเข้าชม

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1588

wpfd_file_info_hits_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของการเข้าชม Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1537

ไอคอนข้อมูลไฟล์ wpfd_html

ตัวกรองทั่วโลกเพื่อเปลี่ยนไอคอน HTML

พารามิเตอร์ :

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

Return :

string

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2014

wpfd_file_info_modified_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของการแก้ไข

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1790

wpfd_file_info_modified_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars ที่แก้ไขแล้ว

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1737

wpfd_file_info_size_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของขนาด

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1488

wpfd_file_info_size_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของขนาด Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1437

wpfd_file_info_title_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของชื่อเรื่อง

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2242

wpfd_file_info_title_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของแถบชื่อเรื่อง

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2116

อาร์กิวเมนต์เวอร์ชันข้อมูลไฟล์ wpfd

ตัวกรอง Globa เพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของเวอร์ชัน

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1387

wpfd_file_info_version_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars เวอร์ชัน

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1334

ไอคอนแบบกำหนดเองขนาดใหญ่ wpfd_file_large_size_

ตัวกรองเพื่อเลือกไอคอนแบบกำหนดเองสำหรับไฟล์ขนาดใหญ่

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/admin/init.php บรรทัดที่ 596

วันเครื่องหมายไฟล์ wpfd

กรองเพื่อเปลี่ยนค่าหน่วงเวลาของเครื่องหมายไฟล์

พารามิเตอร์ :

array The list of days

Return :

array

ในไฟล์ :

app/admin/forms/fields_v2/Filemarker.php บรรทัดที่ 104

อายุการใช้งานของเครื่องหมายไฟล์ wpfd

การกรองเวลาหมดอายุ

พารามิเตอร์ :

integer Expired time

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 4709app/functions.php บรรทัดที่ 4770app/functions.php บรรทัดที่ 4812

อายุการใช้งานของเครื่องหมายไฟล์ wpfd

การกรองเวลาหมดอายุ

พารามิเตอร์ :

integer Expired time

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 4709app/functions.php บรรทัดที่ 4770app/functions.php บรรทัดที่ 4812

อายุการใช้งานของเครื่องหมายไฟล์ wpfd

การกรองเวลาหมดอายุ

พารามิเตอร์ :

integer Expired time

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 4709app/functions.php บรรทัดที่ 4770app/functions.php บรรทัดที่ 4812

wpfd_file_open_pdf_button_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มเปิดไฟล์ PDF

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2637

wpfd_file_open_pdf_button_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มเปิดไฟล์ PDF ใน Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2500

พารามิเตอร์ไฟล์ wpfd_

กรองข้อมูลเพื่ออัปเดตก่อนโหลดลงในฟิลด์

พารามิเตอร์ :

array Data load to fields

Return :

array

ในไฟล์ :

app/admin/views/file/view.php บรรทัดที่ 152

wpfd_file_preview_button_args

ตัวกรอง Global เพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มแสดงตัวอย่าง

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2688

wpfd_file_preview_button_handlebars_args

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มแสดงตัวอย่าง Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2546

wpfd_file_replace_download_with_preview

ตัวกรองอนุญาตให้เปลี่ยนลิงก์ดาวน์โหลดไฟล์เมื่อปิดใช้งานป๊อปอัปการดาวน์โหลด

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/site/themes/wpfd-ggd/theme.php บรรทัดที่ 185app/site/themes/wpfd-ggd/theme.php บรรทัดที่ 270app/site/themes/wpfd-preview/theme.php บรรทัดที่ 223app/site/themes/wpfd-preview/theme.php บรรทัดที่ 310app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 20

wpfd_file_title

กรองเพื่อเปลี่ยนชื่อไฟล์

พารามิเตอร์ :

string File titleinteger File id

Return :

string

ในไฟล์ :

app/site/models/filefront.php บรรทัดที่ 125app/site/models/filefront.php บรรทัดที่ 624app/site/models/filefront.php บรรทัดที่ 465app/site/models/filesfront.php บรรทัดที่ 241app/site/models/filesfront.php บรรทัดที่ 404

wpfd_file_title_open_file_in_new_tab

ตัวกรองช่วยให้เปิดไฟล์ในแท็บใหม่เมื่อคลิกที่ชื่อไฟล์

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2355app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 585

wpfd_file_title_open_file_in_new_tab

ตัวกรองช่วยให้เปิดไฟล์ในแท็บใหม่เมื่อคลิกที่ชื่อไฟล์

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 2355app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 585

wpfd_force_generate_FTP_file_preview

กรองเพื่อบังคับสร้างภาพตัวอย่างและภาพขนาดย่อ

พารามิเตอร์ :

none

Return :

boolean

ในไฟล์ :

app/admin/controllers/config.php บรรทัดที่ 2051

wpfd_generate_preview_page_number

จำนวนหน้าสูงสุดเมื่อสร้างภาพตัวอย่าง

พารามิเตอร์ :

integer

Return :

void

ในไฟล์ :

app/admin/models/generatepreview.php บรรทัดที่ 415app/admin/models/generatepreview.php บรรทัดที่ 753

wpfd_generate_preview_queue_interval

ตัวกรองนี้ใช้สำหรับเปลี่ยนช่วงเวลาการสร้างตัวอย่าง ซึ่งจะแทนที่ค่าคงที่ WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL

พารามิเตอร์ :

$interval Time in second

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 2737

wpfd_generate_preview_url

กรองเพื่อสร้าง URL สำหรับดูตัวอย่าง

พารามิเตอร์ :

boolean Generate preview urlstring File idstring Category idstring Token

Return :

boolean

ในไฟล์ :

app/site/helpers/WpfdHelperFile.php บรรทัดที่ 217

wpfd_generate_single_template

WP File Download

พารามิเตอร์ :

none

Return :

void

ในไฟล์ :

app/site/themes/wpfd-single.php บรรทัดที่ 10

wpfd_generated_preview_file_real_path

ตัวกรองอนุญาตให้ทำอะไรก็ได้กับไฟล์ตัวอย่างที่สร้างขึ้น

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/admin/models/generatepreview.php บรรทัดที่ 885

wpfd_get_content_dir

ตัวกรองเพื่อเปลี่ยนไดเร็กทอรีเนื้อหาที่กำหนดเอง ค่าเริ่มต้น: 'wp-file-download'

พารามิเตอร์ :

string The current custom content dir string.

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัดที่ 86

wpfd_get_support_cloud

ตัวกรองการส่งคืนรองรับแพลตฟอร์มคลาวด์ จำเป็นต้องตรวจจับว่าหมวดหมู่/ไฟล์มาจากที่ใด

พารามิเตอร์ :

array Cloud platform list

Return :

array

ในไฟล์ :

app/functions.php บรรทัดที่ 1018

wpfd_get_template

อนุญาตให้ใช้ตัวกรองปลั๊กอินจากบุคคลที่สาม

พารามิเตอร์ :

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

Return :

string

ในไฟล์ :

app/functions.php บรรทัดที่ 869

wpfd_html_request_method

กรองเพื่อเปลี่ยนวิธีการร้องขอ

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/admin/helpers/WpfdHelperFolder.php บรรทัดที่ 469

ไฟล์ดัชนี wpfd_

กรองเพื่อเพิ่มเนื้อหาไฟล์ลงในดัชนี

พารามิเตอร์ :

array ChunksWP_Post Post object

Return :

void

ในไฟล์ :

app/admin/models/fts.php บรรทัดที่ 1174

wpfd_locate_template

กรองเมื่อส่งคืนเส้นทางเทมเพลตที่พบ

พารามิเตอร์ :

string Template pathstring Template namestring Template path dir

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 831

wpfd_locate_theme

กรองเมื่อส่งคืนเส้นทางเทมเพลตที่พบ

พารามิเตอร์ :

string Template pathstring Template namestring Template path dir

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 956

wpfd_not_authorized_redirect_url

ตัวกรองเพื่อเปลี่ยนเส้นทางผู้ใช้เมื่อพวกเขาไม่ได้รับอนุญาตให้ดูตัวอย่างไฟล์ปัจจุบัน

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 84app/site/controllers/file.php บรรทัดที่ 290

wpfd_not_authorized_redirect_url

ตัวกรองเพื่อเปลี่ยนเส้นทางผู้ใช้เมื่อพวกเขาไม่ได้รับอนุญาตให้ดาวน์โหลดไฟล์ปัจจุบัน

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 84app/site/controllers/file.php บรรทัดที่ 290

wpfd_password_expires

กรองอายุการใช้งานของคุกกี้รหัสผ่านโพสต์ โดยค่าเริ่มต้น คุกกี้จะหมดอายุ 10 วันนับจากวันที่สร้าง หากต้องการเปลี่ยนเป็นคุกกี้เซสชัน ให้ส่งคืนค่า 0.

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 1411

แบบฟอร์มรหัสผ่าน wpfd_

กรองผลลัพธ์ HTML สำหรับแบบฟอร์มรหัสผ่านโพสต์ที่ได้รับการป้องกัน หากมีการแก้ไขช่องรหัสผ่าน โปรดทราบว่าโครงสร้างฐานข้อมูลหลักจำกัดช่องรหัสผ่านไว้ที่ 20 ตัวอักษร โดยไม่คำนึงถึงค่าของแอตริบิวต์ size ในอินพุตของแบบฟอร์ม.

พารามิเตอร์ :

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

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 3611

wpfd_preview_files_dir

กรองเพื่อเปลี่ยนไดเร็กทอรีเอกสารตัวอย่าง

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/admin/classes/WpfdBase.php บรรทัดที่ 148

wpfd_preview_service_url

กรองเพื่อเปลี่ยน URL บริการแสดงตัวอย่าง

พารามิเตอร์ :

string Preview url with %s placeholder for url

Return :

string

ในไฟล์ :

app/site/helpers/WpfdHelperFile.php บรรทัดที่ 235

wpfd_preview_url

กรองเพื่อเปลี่ยน URL สำหรับดูตัวอย่าง

พารามิเตอร์ :

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

Return :

string

ในไฟล์ :

app/site/helpers/WpfdHelperFile.php บรรทัดที่ 246

wpfd_real_abs_path

ตัวกรองเพื่อแก้ไขค่า ABSPATH ที่ผิดพลาดในโฮสติ้ง/เซิร์ฟเวอร์บางแห่ง

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/functions.php บรรทัดที่ 1159

wpfd_remove_download_zip_file_from_server

ตัวกรองสำหรับลบไฟล์ซิปออกจากเซิร์ฟเวอร์

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 114

wpfd_remove_expired_preview_time

ตัวกรองเพื่อกำหนดเวลาเริ่มต้นในการลบไฟล์ตัวอย่างที่หมดอายุ

พารามิเตอร์ :

integer|mixed

Return :

void

ในไฟล์ :

app/admin/init.php บรรทัดที่ 1444

wpfd_request_ssl_verify

ตัวกรองเพื่อเปิดใช้งานการตรวจสอบ SSL

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/admin/helpers/WpfdHelperFolder.php บรรทัดที่ 476

wpfd_search_login_required

กรองเพื่อตรวจสอบการเข้าสู่ระบบสำหรับการค้นหาไฟล์

พารามิเตอร์ :

none

Return :

boolean

ในไฟล์ :

app/site/helpers/WpfdHelperShortcodes.php บรรทัดที่ 2372

ผลการค้นหา wpfd_

ตัวกรองสำหรับผลการค้นหา

พารามิเตอร์ :

array Files resultsarray Search filters

Return :

array

ในไฟล์ :

app/site/models/search.php บรรทัดที่ 631

ความยาวชื่อไฟล์ผลการค้นหา wpfd

อนุญาตให้เปลี่ยนความยาวไฟล์ในผลการค้นหา

พารามิเตอร์ :

integer

Return :

void

ในไฟล์ :

app/site/models/search.php บรรทัดที่ 974

wpfd_search_results_order

ทิศทางการเรียงลำดับผลการค้นหา

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/site/models/search.php บรรทัดที่ 275

wpfd_search_results_orderby

เรียงลำดับผลการค้นหาตาม

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/site/models/search.php บรรทัดที่ 268

wpfd_search_results_orderby_relevance

ใช้ตัวกรองเพื่อจัดเรียงไฟล์ตามความเกี่ยวข้องของคำหลัก.

พารามิเตอร์ :

boolean

Return :

boolean

ในไฟล์ :

app/site/views/search/view.php บรรทัดที่ 285

wpfd_search_tags_relation

ตัวกรองอนุญาตให้เปลี่ยนความสัมพันธ์ของแท็ก

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/site/models/search.php บรรทัดที่ 156app/admin/models/files.php บรรทัดที่ 449

wpfd_search_tags_relation

ตัวกรองอนุญาตให้เปลี่ยนความสัมพันธ์ของแท็ก

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/site/models/search.php บรรทัดที่ 156app/admin/models/files.php บรรทัดที่ 449

wpfd_selected_file

ตัวกรองไฟล์ที่เลือกเพื่อดาวน์โหลด

พารามิเตอร์ :

array

Return :

void

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 456app/site/controllers/files.php บรรทัดที่ 734

wpfd_selected_file

ตัวกรองไฟล์ที่เลือกเพื่อดาวน์โหลด

พารามิเตอร์ :

array

Return :

void

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 456app/site/controllers/files.php บรรทัดที่ 734

wpfd_selected_files

กรองไฟล์ที่เลือกเพื่อดาวน์โหลด

พารามิเตอร์ :

array

Return :

void

ในไฟล์ :

app/site/controllers/files.php บรรทัดที่ 107

wpfd_show_upload_form_reverse

กรองเพื่อเปลี่ยนแบบฟอร์มการอัปโหลด

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/site/views/files/view.php บรรทัดที่ 491app/site/themes/wpfd-ggd/tpl.php บรรทัดที่ 282app/site/themes/wpfd-preview/tpl.php บรรทัดที่ 285app/site/themes/wpfd-default/tpl.php บรรทัดที่ 306app/site/themes/wpfd-table/tpl.php บรรทัดที่ 259app/site/themes/wpfd-tree/tpl.php บรรทัดที่ 320

wpfd_statistics_filter_by

กรองสถิติโดย

พารามิเตอร์ :

array

Return :

void

ในไฟล์ :

app/admin/views/statistics/tpl/filters.php บรรทัดที่ 41

wpfd_statistics_filter_by_placeholders

กรองสถิติโดยใช้ตัวยึดตำแหน่ง

พารามิเตอร์ :

array

Return :

void

ในไฟล์ :

app/admin/views/statistics/tpl/filters.php บรรทัดที่ 48

wpfd_statistics_get_selection_arguments

สถิติได้รับอาร์กิวเมนต์ค่าการเลือก

พารามิเตอร์ :

array string string

Return :

void

ในไฟล์ :

app/admin/models/statistics.php บรรทัดที่ 194

wpfd_statistics_get_selection_posts_clauses

สถิติได้รับข้อกำหนดการคัดเลือกตำแหน่งงาน

พารามิเตอร์ :

array string string

Return :

void

ในไฟล์ :

app/admin/models/statistics.php บรรทัดที่ 378

wpfd_statistics_get_selection_value

สถิติได้รับค่าการเลือก

พารามิเตอร์ :

array string

Return :

void

ในไฟล์ :

app/admin/models/statistics.php บรรทัดที่ 121

wpfd_statistics_type

ประเภทสถิติการเปลี่ยนแปลง

พารามิเตอร์ :

string string string

Return :

void

ในไฟล์ :

app/admin/models/statistics.php บรรทัดที่ 387

wpfd_token_live_time

กรองเพื่อเปลี่ยนเวลาจริงของโทเค็น

พารามิเตอร์ :

int Token live time in seconds

Return :

int

ในไฟล์ :

app/functions.php บรรทัดที่ 1889app/site/models/tokens.php บรรทัดที่ 123app/site/models/tokens.php บรรทัดที่ 170

วันขยะ wpfd_

ตัวกรองเพื่อเปลี่ยนจำนวนวันของโฟลเดอร์ถังขยะ

พารามิเตอร์ :

array The list of days

Return :

array

ในไฟล์ :

app/admin/forms/fields_v2/Trash.php บรรทัดที่ 104

wpfd_upload_dir

ตัวกรองอนุญาตให้เปลี่ยนไดเร็กทอรีการอัปโหลดไฟล์

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/admin/classes/WpfdBase.php บรรทัดที่ 113

wpfd_user_can

ตรวจสอบความสามารถของผู้ใช้ปัจจุบันในการแก้ไขการตั้งค่าสิทธิ์

พารามิเตอร์ :

boolean The current user has the given capabilitystring Action name

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัด 1198app/functions.php บรรทัด 1215app/functions.php บรรทัด 1259app/functions.php บรรทัด 1279app/functions.php บรรทัด 1299app/functions.php บรรทัด 1319app/functions.php บรรทัด 1369app/functions.php บรรทัด 1419app/admin/classes/install-wizard/install-wizard.php บรรทัด 59jutranslation/jutranslation.php บรรทัด 100

wpfd_user_can

ตัวกรองตรวจสอบความสามารถของผู้ใช้ปัจจุบันในการจัดการไฟล์

พารามิเตอร์ :

boolean The current user has the given capabilitystring Action name

Return :

boolean

ในไฟล์ :

app/functions.php บรรทัด 1198app/functions.php บรรทัด 1215app/functions.php บรรทัด 1259app/functions.php บรรทัด 1279app/functions.php บรรทัด 1299app/functions.php บรรทัด 1319app/functions.php บรรทัด 1369app/functions.php บรรทัด 1419app/admin/classes/install-wizard/install-wizard.php บรรทัด 59jutranslation/jutranslation.php บรรทัด 100

wpfd_wc_validate_required_fields

กรองเพื่อตรวจสอบความถูกต้องของข้อมูลในช่องที่จำเป็น

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/admin/init.php บรรทัดที่ 696

wpfd_wpml_download_language

ตัวกรองสำหรับปรับแต่งภาษาในการดาวน์โหลด

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/site/models/filefront.php บรรทัดที่ 533app/site/models/filesfront.php บรรทัดที่ 338

wpfd_wpml_download_language

ตัวกรองสำหรับปรับแต่งภาษาในการดาวน์โหลด

พารามิเตอร์ :

boolean

Return :

void

ในไฟล์ :

app/site/models/filefront.php บรรทัดที่ 533app/site/models/filesfront.php บรรทัดที่ 338

wpfd_you_dont_have_permission_redirect_url

ตัวกรองเพื่อเปลี่ยนเส้นทางผู้ใช้เมื่อพวกเขาไม่มีสิทธิ์ดาวน์โหลดไฟล์ปัจจุบัน

พารามิเตอร์ :

string

Return :

void

ในไฟล์ :

app/site/controllers/file.php บรรทัดที่ 269

wpfd_{$themeName}_back_button_handlebars

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มย้อนกลับใน Handlebars

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2799

wpfd_{$themeName}_category_description

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบายหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3002app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3015

wpfd_{$themeName}_category_description

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบายหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3002app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3015

wpfd_{$themeName}_category_description_handlebars

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบายหมวดหมู่ Handlebars

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2968

wpfd_{$themeName}_category_item

ตัวกรองทั่วโลกเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของรายการหมวดหมู่

พารามิเตอร์ :

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

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3168app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3182

wpfd_{$themeName}_category_item

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของรายการหมวดหมู่

พารามิเตอร์ :

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

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3168app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3182

wpfd_{$themeName}_category_item_handlebars

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ handlebars รายการหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3076

wpfd_{$themeName}_category_title

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของชื่อหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2921

wpfd_{$themeName}_category_title_handlebars

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars ชื่อหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2854

wpfd_{$themeName}_category_tree

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของโครงสร้างหมวดหมู่

พารามิเตอร์ :

array Template arrayobject Current theme objectarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 3239

wpfd_{$themeName}_column_created_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์วันที่สร้าง

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 1100

wpfd_{$themeName}_column_custom_fields_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์ฟิลด์ที่กำหนดเอง

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 1173

wpfd_{$themeName}_column_description_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์คำอธิบาย

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 915app/site/themes/wpfd-table/theme.php บรรทัดที่ 949app/site/themes/wpfd-table/theme.php บรรทัดที่ 1303

wpfd_{$themeName}_column_description_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์คำอธิบาย

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 915app/site/themes/wpfd-table/theme.php บรรทัดที่ 949app/site/themes/wpfd-table/theme.php บรรทัดที่ 1303

wpfd_{$themeName}_column_description_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์คำอธิบาย

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 915app/site/themes/wpfd-table/theme.php บรรทัดที่ 949app/site/themes/wpfd-table/theme.php บรรทัดที่ 1303

wpfd_{$themeName}_column_download_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์ดาวน์โหลด

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 1212

wpfd_{$themeName}_column_hits_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์จำนวนการเข้าชม

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 1063

wpfd_{$themeName}_column_media_menu_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์เมนูสื่อ

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 1246

wpfd_{$themeName}_column_modified_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์วันที่แก้ไข

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 1138

wpfd_{$themeName}_column_size_header_html

กรองเพื่อเปลี่ยนขนาดคอลัมน์ส่วนหัว HTML

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 1025

wpfd_{$themeName}_column_title_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์ชื่อเรื่อง

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 877

wpfd_{$themeName}_column_version_header_html

ตัวกรองเพื่อเปลี่ยนส่วนหัว HTML ของคอลัมน์เวอร์ชัน

พารามิเตอร์ :

string Header html

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 987

wpfd_{$themeName}_content_wrapper

กรองเพื่อเปลี่ยนเอาต์พุตของตัวห่อเนื้อหา

พารามิเตอร์ :

string Content wrapperobject Current theme object

Return :

string

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 901

wpfd_{$themeName}_content_wrapper_input

ตัวกรองสำหรับพิมพ์ข้อมูลที่ซ่อนอยู่ด้านล่างตัวห่อเนื้อหา

พารามิเตอร์ :

string Input htmlobject Current theme object

Return :

string

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 928

wpfd_{$themeName}_file_download_button_args

ตัวกรองเพื่อเปลี่ยนโค้ด HTML และอาร์กิวเมนต์ของปุ่มดาวน์โหลด

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2431

wpfd_{$themeName}_file_download_button_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มดาวน์โหลด Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2356

wpfd_{$themeName}_file_info_created_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของสิ่งที่สร้างขึ้น

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1701

wpfd_{$themeName}_file_info_created_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars ที่สร้างขึ้น

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1650

wpfd_{$themeName}_file_info_custom_fields_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของฟิลด์ที่กำหนดเอง

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1869

wpfd_{$themeName}_file_info_custom_fields_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของฟิลด์ที่กำหนดเอง Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1916

wpfd_{$themeName}_file_info_description_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบาย

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1245

wpfd_{$themeName}_file_info_description_handlebars_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของคำอธิบาย Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1195

wpfd_{$themeName}_file_info_hits_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของผลลัพธ์

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1601

wpfd_{$themeName}_file_info_hits_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของการเข้าชม Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1550

wpfd_{$themeName}_file_info_icon_hanlebars

ตัวกรองเพื่อเปลี่ยนไอคอน HTML สำหรับเทมเพลต Handlebars

พารามิเตอร์ :

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

ในไฟล์ :

app/site/themes/wpfd-preview/theme.php บรรทัดที่ 175app/site/themes/wpfd-table/theme.php บรรทัดที่ 319app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1957app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1970

wpfd_{$themeName}_file_info_icon_hanlebars

ตัวกรองเพื่อเปลี่ยนไอคอน HTML สำหรับเทมเพลต Handlebars

พารามิเตอร์ :

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

ในไฟล์ :

app/site/themes/wpfd-preview/theme.php บรรทัดที่ 175app/site/themes/wpfd-table/theme.php บรรทัดที่ 319app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1957app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1970

wpfd_{$themeName}_file_info_icon_html

ตัวกรองเพื่อเปลี่ยนไอคอน HTML

พารามิเตอร์ :

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

Return :

string

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 438app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2028

wpfd_{$themeName}_file_info_modified_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของการแก้ไข

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1804

wpfd_{$themeName}_file_info_modified_handlebars_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars ที่แก้ไขแล้ว

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1750

wpfd_{$themeName}_file_info_size_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของขนาด

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1501

wpfd_{$themeName}_file_info_size_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของขนาด Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1449

wpfd_{$themeName}_file_info_title_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของชื่อเรื่อง

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 504app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2256

wpfd_{$themeName}_file_info_title_handlebars_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของแฮนด์เดิลบาร์ในชื่อเรื่อง

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/wpfd-table/theme.php บรรทัดที่ 380app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2129

wpfd_{$themeName}_file_info_version_args

กรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของเวอร์ชัน

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1400

wpfd_{$themeName}_file_info_version_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของ Handlebars เวอร์ชัน

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 1346

wpfd_{$themeName}_file_open_pdf_button_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มเปิดไฟล์ PDF

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2651

wpfd_{$themeName}_file_open_pdf_button_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มเปิดไฟล์ PDF ใน Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2513

wpfd_{$themeName}_file_preview_button_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มแสดงตัวอย่าง

พารามิเตอร์ :

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2702

wpfd_{$themeName}_file_preview_button_handlebars_args

ตัวกรองเพื่อเปลี่ยน HTML และอาร์กิวเมนต์ของปุ่มแสดงตัวอย่างใน Handlebars

พารามิเตอร์ :

array Template arrayarray Main configarray Current category config

Return :

array

ในไฟล์ :

app/site/themes/templates/wpfd-theme.class.php บรรทัดที่ 2559

Composer

โลโก้นักแต่งเพลง นี่คือวิธีใช้งานปลั๊กอินของเราเป็น dependency ใน Composer คุณต้องประกาศ repository ของ joomunited ในไฟล์ composer.json ของคุณ โปรดตรวจสอบให้แน่ใจว่าได้แทนที่ YOUR_TOKEN ใน URL ด้วยโทเค็นของคุณเอง คุณสามารถค้นหาได้ที่ https://www.joomunited.com/my-account/my-membership ในส่วนของ 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"    } }

ตั้งค่าคีย์อัปเดตด้วยโปรแกรมโดยใช้ WP CLI

ใช้คีย์เดียวกับที่คุณใช้ในการติดตั้ง Composer แล้วเรียกใช้คำสั่ง Composer นี้เพื่อตั้งค่าโทเค็นการอัปเดต wp option update ju_user_token "YOUR_TOKEN"