メインコンテンツへスキップ

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 50行目app/admin/views/wpfd/tpl/ui-default.php 153行目app/admin/views/iconsbuilder/tpl/default.php 50行目

wpfd_addon_stream_file_pdf_embed

クラウド上のPDFファイルを直接読み込む際にアクションが発火する

パラメータ:

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

Return :

void

ファイル内:

app/site/init.php 224行目

wpfd_addon_update_version_description

対処後のアクション更新バージョンと説明

パラメータ:

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

ファイル内:

app/admin/controllers/files.php 950行目app/admin/controllers/files.php 1043行目app/admin/controllers/files.php 2765行目app/admin/controllers/files.php 1076行目app/admin/controllers/files.php 1382行目app/admin/controllers/files.php 1884行目app/admin/controllers/files.php 3176行目app/admin/controllers/files.php 3667行目app/admin/controllers/files.php 1138行目app/admin/controllers/files.php 2168行目app/admin/controllers/files.php 2842app/admin/controllers/files.php 3978行目app/admin/controllers/files.php 1197行目app/admin/controllers/files.php 1197行目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 1515行目app/admin/controllers/files.php 3262行目app/admin/controllers/files.php 1582行目app/admin/controllers/files.php 1943行目app/admin/controllers/files.php 3593行目app/admin/controllers/files.php 3725行目app/admin/controllers/files.php 1707行目app/admin/controllers/files.php 1823行目app/admin/controllers/files.php 2421行目app/admin/controllers/files.php 2017行目app/admin/controllers/files.php 2094app/admin/controllers/files.php 2228行目app/admin/controllers/files.php 2355行目app/admin/controllers/files.phpapp/admin/controllers/files.php のapp/admin/controllers/files.php のapp/admin/controllers/files.php のapp/admin/controllers/files.php の、app/admin/controllers/files.php のapp/admin/controllers/files.php の 3309 行目、app/admin/controllers/files.php の 3446 行目、app/admin/controllers/files.php の 4249 行目、app/admin/controllers/files.php の 3813 行目、app/admin/controllers/files.php の 3845 行目

wpfd_addon_update_version_description

コピー後のアクション更新バージョンと説明

パラメータ:

string Versionstring Descriptionstring Category fromstring Category TermId

Return :

void

ファイル内:

app/admin/controllers/files.php 950行目app/admin/controllers/files.php 1043行目app/admin/controllers/files.php 2765行目app/admin/controllers/files.php 1076行目app/admin/controllers/files.php 1382行目app/admin/controllers/files.php 1884行目app/admin/controllers/files.php 3176行目app/admin/controllers/files.php 3667行目app/admin/controllers/files.php 1138行目app/admin/controllers/files.php 2168行目app/admin/controllers/files.php 2842app/admin/controllers/files.php 3978行目app/admin/controllers/files.php 1197行目app/admin/controllers/files.php 1197行目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 1515行目app/admin/controllers/files.php 3262行目app/admin/controllers/files.php 1582行目app/admin/controllers/files.php 1943行目app/admin/controllers/files.php 3593行目app/admin/controllers/files.php 3725行目app/admin/controllers/files.php 1707行目app/admin/controllers/files.php 1823行目app/admin/controllers/files.php 2421行目app/admin/controllers/files.php 2017行目app/admin/controllers/files.php 2094app/admin/controllers/files.php 2228行目app/admin/controllers/files.php 2355行目app/admin/controllers/files.phpapp/admin/controllers/files.php のapp/admin/controllers/files.php のapp/admin/controllers/files.php のapp/admin/controllers/files.php の、app/admin/controllers/files.php のapp/admin/controllers/files.php の 3309 行目、app/admin/controllers/files.php の 3446 行目、app/admin/controllers/files.php の 4249 行目、app/admin/controllers/files.php の 3813 行目、app/admin/controllers/files.php の 3845 行目

wpfd_admin_after_file_title_field

タイトルフィールドの後にスローされるアクション

パラメータ:

string Current file information

Return :

void

ファイル内:

app/admin/forms/file.xml 60行目

wpfd_after_bottom_file_save_settings

下部のファイル保存設定ボタンの後にスローされるアクション

パラメータ:

string Current file information

Return :

void

ファイル内:

app/admin/forms/file.xml 261行目

wpfd_after_category_main_settings

右パネルのカテゴリのメイン設定後にアクションが発動する

パラメータ:

integer Current category id

Return :

void

ファイル内:

app/admin/views/category/tpl/default.php 185行目

wpfd_after_create_new_category

新しいカテゴリ作成後のアクション

パラメータ:

integer New category idstring Category created name

Return :

void

ファイル内:

app/admin/controllers/category.php 89行目

wpfd_after_fieldset_category_main_settings

右パネルのカテゴリのメイン設定フィールドセット後にアクションが実行される

パラメータ:

integer Current category id

Return :

void

ファイル内:

app/admin/views/category/tpl/default.php 194行目

wpfd_after_single_file_info

単一ファイル表示でファイル情報を表示した後にアクションを実行する

パラメータ:

object File object

Return :

void

ファイル内:

app/site/themes/templates/tpl-single.php 75行目

wpfd_after_template_part

テンプレートパーツの後にアクションが発動する

パラメータ:

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

ファイル内:

app/functions.php 891行目

wpfd_before_category_main_settings

右パネルのカテゴリのメイン設定の前にアクションを実行する

パラメータ:

integer Current category id

Return :

void

ファイル内:

app/admin/views/category/tpl/default.php 95行目

wpfd_before_fieldset_category_main_settings

右パネルでカテゴリのメイン設定フィールドを設定する前にアクションを実行する

パラメータ:

integer Current category id

Return :

void

ファイル内:

app/admin/views/category/tpl/default.php 64行目

wpfd_before_index_remove

インデックス削除前にアクションが実行される

パラメータ:

integer Post id

Return :

void

ファイル内:

app/admin/models/fts.php 1088行目

wpfd_before_single_file_info

単一ファイル表示でファイル情報の前にアクションを実行する

パラメータ:

object File object

Return :

void

ファイル内:

app/site/themes/templates/tpl-single.php 59行目

wpfd_before_template_part

テンプレートパーツの前にアクションを実行する

パラメータ:

string Template namestring Template path dirstring Template patharray Template variables

Return :

void

ファイル内:

app/functions.php 879行目

wpfd_download_file_permission

現在のユーザーにこのファイルをダウンロードする権限がない場合にアクションが実行されます。.

パラメータ:

string|integer string|integer integer

Return :

void

ファイル内:

app/site/controllers/files.php 49行目app/site/controllers/file.php 72行目

wpfd_download_file_permission

現在のユーザーにこのファイルをダウンロードする権限がない場合にアクションが実行されます。.

パラメータ:

string|integer string|integer integer

Return :

void

ファイル内:

app/site/controllers/files.php 49行目app/site/controllers/file.php 72行目

wpfd_download_link_expired

期限切れのダウンロードページに対するアクション

パラメータ:

string|integer string|integer integer

Return :

void

ファイル内:

app/site/controllers/file.php 112行目

wpfd_file_deleted

ファイル削除後のアクション実行

パラメータ:

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

Return :

void

ファイル内:

app/admin/controllers/file.php 963行目app/admin/controllers/file.php 1064行目app/admin/controllers/file.php 1521行目

wpfd_file_download

ファイルのダウンロードの直前にアクションが実行されます。ここでは何もエコーしないでください。そうしないと、ファイルのダウンロードが破損します。

パラメータ:

object File idarray Source

Return :

void

ファイル内:

app/site/controllers/file.php 409行目app/site/controllers/file.php 495行目app/site/controllers/file.php 602行目app/site/controllers/file.php 680行目app/site/controllers/file.php 756行目app/site/controllers/file.php 798行目app/site/controllers/file.php 821行目app/site/controllers/file.php 913行目

wpfd_file_download

ファイルのダウンロードの直前にアクションが実行されます。ここでは何もエコーしないでください。そうしないと、ファイルのダウンロードが破損します。

パラメータ:

object File idarray Source

Return :

void

ファイル内:

app/site/controllers/file.php 409行目app/site/controllers/file.php 495行目app/site/controllers/file.php 602行目app/site/controllers/file.php 680行目app/site/controllers/file.php 756行目app/site/controllers/file.php 798行目app/site/controllers/file.php 821行目app/site/controllers/file.php 913行目

wpfd_file_indexed

ファイルのインデックス作成後にアクションが実行される

パラメータ:

integer Inserted post idarray Post content to index

Return :

void

ファイル内:

app/admin/models/fts.php 1190行目

wpfd_file_uploaded

ファイルのアップロード後にアクションを実行する

パラメータ:

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

Return :

void

ファイル内:

app/admin/models/files.php 1507行目

wpfd_generate_preview_after_merge_image_vertical

マージ後のアクション発射画像垂直

パラメータ:

string $destinationPath Merged image pathWpfdModelGeneratepreview $this Current Model

Return :

void

ファイル内:

app/admin/models/generatepreview.php 1097行目

wpfd_generate_preview_after_resize_thumbnail

サムネイルのサイズを変更した後のアクションファイル

パラメータ:

string $fileName Thumbnail file path

Return :

void

ファイル内:

app/admin/models/generatepreview.php 976行目

wpfd_generate_preview_before_merge_image_vertical

マージイメージの垂直方向の前のアクション発射

パラメータ:

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

Return :

void

ファイル内:

app/admin/models/generatepreview.php 1001行目

wpfd_preview_file_permission

現在のユーザーにこのファイルをプレビューする権限がない場合にアクションが実行されます。.

パラメータ:

string|integer string|integer integer

Return :

void

ファイル内:

app/site/controllers/file.php 100行目app/site/helpers/WpfdHelperShortcodes.php 4374行目

wpfd_preview_file_permission

現在のユーザーにこのファイルをプレビューする権限がない場合にアクションが実行されます。.

パラメータ:

string|integer string|integer integer

Return :

void

ファイル内:

app/site/controllers/file.php 100行目app/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 438行目app/admin/models/generatepreview.php 584行目app/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 332行目app/admin/controllers/category.php 803行目app/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 332行目app/admin/controllers/category.php 803行目app/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 332行目app/admin/controllers/category.php 803行目app/admin/controllers/category.php 944行目

wpfd_update_category_description

更新後のカテゴリの色

パラメータ:

integer Term id to change colorstring New category color

Return :

void

ファイル内:

app/admin/controllers/category.php 290行目

wpfd_update_category_name

カテゴリ名を更新

パラメータ:

integer Term id to change namestring New category name

Return :

void

ファイル内:

app/admin/controllers/category.php 133行目

wpfd_{$themeName}_after_custom_hooks

カスタムフック後のアクション発射

パラメータ:

none

Return :

void

ファイル内:

app/site/themes/templates/wpfd-theme.class.php の845行目

wpfd_{$themeName}_after_template_hooks

テンプレートフック後のアクション発動

パラメータ:

none

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/theme.php 119行目app/site/themes/wpfd-preview/theme.php 117行目app/site/themes/templates/wpfd-theme.class.php 835行目app/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 316行目app/site/themes/wpfd-preview/tpl.php 319行目app/site/themes/wpfd-default/tpl.php 340行目app/site/themes/wpfd-table/tpl.php 298行目app/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 229行目app/site/themes/wpfd-preview/tpl.php 230行目app/site/themes/wpfd-default/tpl.php 195行目app/site/themes/wpfd-table/tpl.php 146行目app/site/themes/templates/tpl-default.php 139行目app/site/themes/wpfd-tree/tpl.php 221行目

wpfd_{$themeName}_before_files_loop_handlebars

ハンドルバーテンプレートのファイルループの前にアクションを実行する

パラメータ:

array Current theme paramsarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/tpl.php 121行目app/site/themes/wpfd-preview/tpl.php 121行目app/site/themes/wpfd-default/tpl.php 47行目app/site/themes/wpfd-table/tpl.php 36行目app/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 101行目app/site/themes/wpfd-preview/tpl.php 101行目app/site/themes/wpfd-default/tpl.php 27行目app/site/themes/wpfd-table/tpl.php 106行目app/site/themes/templates/tpl-default.php 25行目app/site/themes/wpfd-tree/tpl.php 204行目app/site/themes/wpfd-tree/tpl.php 351行目

wpfd_{$themeName}_ボタン

ボタンを表示するアクション

パラメータ:

object Current file objectarray Global configarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-default/tpl.php 284行目app/site/themes/wpfd-table/tpl.php 237行目app/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 83行目app/site/themes/wpfd-preview/tpl.php 83行目app/site/themes/wpfd-default/tpl.php 123行目app/site/themes/wpfd-table/tpl.php 84行目app/site/themes/templates/tpl-default.php 101行目app/site/themes/wpfd-tree/tpl.php 84行目

wpfd_{$テーマ名}_columns

列を表示するアクション

パラメータ:

array Main configarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-table/tpl.php 173行目

wpfd_{$テーマ名}_ファイルブロック

ファイルブロックを表示するアクション

パラメータ:

object Current file objectarray Global configarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/tpl.php 256行目app/site/themes/wpfd-preview/tpl.php 259行目

wpfd_{$themeName}_file_block_handlebars

ハンドルバーテンプレートにファイルブロックを表示するアクション

パラメータ:

array Main configarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/tpl.php 154行目app/site/themes/wpfd-preview/tpl.php 156行目

wpfd_{$テーマ名}_ファイルコンテンツ

ファイルの内容を表示するアクション

パラメータ:

object Current file objectarray Global configarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-default/tpl.php 243行目app/site/themes/templates/tpl-default.php 161行目

wpfd_{$themeName}_file_content_handlebars

ハンドルバーテンプレートのアクション印刷ファイルの内容

パラメータ:

array $config Main configarray $params Category config

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/tpl.php 44行目app/site/themes/wpfd-preview/tpl.php 44行目app/site/themes/wpfd-default/tpl.php 83行目app/site/themes/templates/tpl-default.php 65行目app/site/themes/wpfd-tree/tpl.php 45行目

wpfd_{$テーマ名}_ファイル情報

ファイル情報を表示するアクション

パラメータ:

object Current file objectarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-default/tpl.php 264行目app/site/themes/wpfd-table/tpl.php 218行目app/site/themes/templates/tpl-default.php 180行目

wpfd_{$themeName}_file_info_handlebars

ハンドルバーテンプレートにファイル情報を表示するアクション

パラメータ:

array Global configarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/tpl.php 65行目app/site/themes/wpfd-preview/tpl.php 65行目app/site/themes/wpfd-default/tpl.php 104行目app/site/themes/wpfd-table/tpl.php 64行目app/site/themes/templates/tpl-default.php 84行目app/site/themes/wpfd-tree/tpl.php 66行目

wpfd_{$テーマ名}_フォルダツリー

アクション印刷フォルダツリー

パラメータ:

object Current theme paramsarray Category config

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/tpl.php 209行目app/site/themes/wpfd-preview/tpl.php 210行目app/site/themes/wpfd-default/tpl.php 175行目app/site/themes/wpfd-table/tpl.php 126行目app/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

認証済みのWPFD AJAXディスパッチャーを通じて公開されるタスクをフィルタリングします。.

パラメータ:

array $allowedTasks Allowed controller tasks.

Return :

void

ファイル内:

app/admin/init.php 389行目

wpfd_always_generate_breadcrumbs

デフォルトで常にパンくずリストを生成するフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/site/models/categoryfront.php 58行目

wpfd_auto_create_private_folders

プライベートフォルダを自動的に作成するフィルター

パラメータ:

boolean

Return :

boolean

ファイル内:

app/admin/init.php 1633行目app/admin/init.php 1799行目

wpfd_auto_create_private_folders

プライベートフォルダを自動的に作成するフィルター

パラメータ:

boolean

Return :

boolean

ファイル内:

app/admin/init.php 1633行目app/admin/init.php 1799行目

wpfd_自動リビジョン

フィルターにより自動リビジョンの変更が可能

パラメータ:

string array

Return :

void

ファイル内:

app/admin/controllers/files.php 4646行目

wpfd_自動リビジョン日付フォーマット

フィルターにより自動バージョン管理の日付形式を変更できるようになりました

パラメータ:

string array

Return :

void

ファイル内:

app/admin/controllers/files.php 4608行目

wpfd_自動リビジョンが有効

フィルターを有効にすると自動バージョンが有効になります

パラメータ:

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 と引数を変更するグローバル フィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2786行目

wpfd_before_save_category

データベースに保存する前にカテゴリパラメータをフィルタリングする

パラメータ:

array Category paramsinteger Term id

Return :

array

ファイル内:

app/admin/controllers/category.php 388行目

wpfd_before_save_file_metadata

フィルターにより、データベースに保存する前にファイルのメタデータを変更できるようになります。

パラメータ:

array File meta data array

Return :

array

ファイル内:

app/admin/models/file.php 182行目

wpfd_before_save_file_params

フィルターにより、データベースに保存する前にファイルデータを変更できるようになります

パラメータ:

array File data array

Return :

array

ファイル内:

app/admin/models/file.php 107行目

wpfd_before_update_category_color

フィルター更新カテゴリの色

パラメータ:

string New category colorinteger Term id to change name

Return :

string|boolean

ファイル内:

app/admin/controllers/category.php 323行目

wpfd_before_update_category_description

フィルター更新カテゴリの説明

パラメータ:

string New category descriptioninteger Term id to change name

Return :

string|boolean

ファイル内:

app/admin/controllers/category.php 277行目

wpfd_before_update_category_name

フィルター更新カテゴリ名

パラメータ:

string New category nameinteger Term id to change name

Return :

string|boolean

ファイル内:

app/admin/controllers/category.php 125行目

wpfd_before_upload_file

ファイルをアップロードする前にフィルタリングする

パラメータ:

array File datainteger Current user id

Return :

array

ファイル内:

app/admin/models/files.php 1416行目

wpfd_can_access_plugin_cache_ttl

このチェックのキャッシュ有効期間を変更するには、フィルターを使用します。.

パラメータ:

integer

Return :

void

ファイル内:

app/admin/helpers/WpfdHelperFolder.php 483行目

wpfd_can_access_plugin_timeout

HTTPリクエストのタイムアウトを変更するフィルター。.

パラメータ:

integer

Return :

void

ファイル内:

app/admin/helpers/WpfdHelperFolder.php 490行目

wpfd_カテゴリ

フロントカテゴリリストをフィルタリングできるようにする

パラメータ:

array

Return :

void

ファイル内:

app/site/models/categoriesfront.php 176行目

wpfd_categories_order

フィルターを使用すると、カテゴリの順序を変更できます

パラメータ:

string

Return :

string

ファイル内:

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

wpfd_categories_orderby

フィルターを使用すると、カテゴリの順序列を変更できます

パラメータ:

string

Return :

string

ファイル内:

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

wpfd_category_description_handlebars

カテゴリ説明ハンドルバーのHTMLと引数を変更するグローバルフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2955行目

wpfd_category_item_handlebars

カテゴリアイテムハンドルバーのHTMLと引数を変更するグローバルフィルター

パラメータ:

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 2319行目app/site/themes/templates/wpfd-theme.class.php 549行目

wpfd_category_loading_message

フィルターを使用すると、カテゴリ読み込みメッセージをオンにすることができます

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2319行目app/site/themes/templates/wpfd-theme.class.php 549行目

wpfd_カテゴリ_タイトル

カテゴリタイトルのHTMLと引数を変更するグローバルフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2908行目

wpfd_category_title_handlebars

カテゴリータイトルハンドルバーのHTMLと引数を変更するグローバルフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2841行目

wpfd_category_tree

カテゴリツリーのHTMLと引数を変更するグローバルフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php の3226行目

wpfd_category_tree_click_scroll_up

フィルターを使用すると、カテゴリツリーをクリックすると、要素の一番上まで自動的にスクロールします。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2346行目app/site/themes/templates/wpfd-theme.class.php 576行目

wpfd_category_tree_click_scroll_up

フィルターを使用すると、カテゴリツリーをクリックすると、要素の一番上まで自動的にスクロールします。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2346行目app/site/themes/templates/wpfd-theme.class.php 576行目

wpfd_category_tree_expanded

フィルターを使用すると、フロントエンドでカテゴリツリーを展開できます。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2328行目app/site/themes/templates/wpfd-theme.class.php 558行目

wpfd_category_tree_expanded

フィルターを使用すると、フロントエンドでカテゴリツリーを展開できます。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2328行目app/site/themes/templates/wpfd-theme.class.php 558行目

wpfd_category_tree_parent_expanded

フィルターを使用すると、フロントエンドでカテゴリツリーの親を展開できます。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2337行目app/site/themes/templates/wpfd-theme.class.php 567行目

wpfd_category_tree_parent_expanded

フィルターを使用すると、フロントエンドでカテゴリツリーの親を展開できます。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2337行目app/site/themes/templates/wpfd-theme.class.php 567行目

wpfd_check_special_char_editing

編集時に特殊文字をチェックするフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/admin/init.php 689行目

wpfd_clean_interval

ジャンクの消去時間を変更するフィルター。これは WPFD_CLEAN_INTERVAL 定数を上書きします。

パラメータ:

$interval Time in second

Return :

void

ファイル内:

app/functions.php 1911行目

wpfd_custom_zip_folder_on_server

ダウンロードロードの zip フォルダをカスタマイズするためのフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/site/controllers/files.php 67行目

wpfd_default_category_params

フィルターを使用すると、新しいカテゴリのデフォルトパラメータを設定できます

パラメータ:

array Default values: order, orderby, roles, private

Return :

array

ファイル内:

app/site/models/categoryfront.php 96行目app/site/models/categoriesfront.php 565行目app/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と引数を変更するグローバルフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2343行目

wpfd_ファイル情報

フィルターファイル情報を前面に表示

パラメータ:

object File object

Return :

object

ファイル内:

app/site/models/filefront.php 583行目app/site/models/filefront.php 659行目app/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と引数を変更するためのグローバルフィルター

パラメータ:

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と引数を変更するためのグローバルフィルター

パラメータ:

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と引数を変更するためのグローバルフィルター

パラメータ:

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と引数を変更するグローバルフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 1537行目

wpfd_file_info_icon_html

アイコンHTMLを変更するためのグローバルフィルター

パラメータ:

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

Return :

string

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2014行目

wpfd_file_info_modified_args

htmlと変更された引数を変更するグローバルフィルター

パラメータ:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 1790行目

wpfd_file_info_modified_handlebars_args

変更されたハンドルバーの HTML と引数を変更するためのグローバル フィルター

パラメータ:

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と引数を変更するグローバルフィルター

パラメータ:

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_file_info_version_args

htmlとバージョンの引数を変更するGlobaフィルター

パラメータ:

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と引数を変更するためのグローバルフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 1334行目

wpfd_file_large_size_custom_icon

大きなサイズのファイルを選択するためのフィルターカスタムアイコン

パラメータ:

boolean

Return :

void

ファイル内:

app/admin/init.php 596行目

wpfd_file_marker_days

ファイルマーカーの時間遅延を変更するフィルター

パラメータ:

array The list of days

Return :

array

ファイル内:

app/admin/forms/fields_v2/Filemarker.php 104行目

wpfd_file_marker_life_time

有効期限切れフィルタリング

パラメータ:

integer Expired time

Return :

void

ファイル内:

app/functions.php 4709行目app/functions.php 4770行目app/functions.php 4812行目

wpfd_file_marker_life_time

有効期限切れフィルタリング

パラメータ:

integer Expired time

Return :

void

ファイル内:

app/functions.php 4709行目app/functions.php 4770行目app/functions.php 4812行目

wpfd_file_marker_life_time

有効期限切れフィルタリング

パラメータ:

integer Expired time

Return :

void

ファイル内:

app/functions.php 4709行目app/functions.php 4770行目app/functions.php 4812行目

wpfd_file_open_pdf_button_args

PDFを開くボタンのHTMLと引数を変更するグローバルフィルター

パラメータ:

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

オープン PDF ボタン ハンドルバーの HTML と引数を変更するグローバル フィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2500行目

wpfd_file_params

フィールドにロードする前にデータを更新するためのフィルター

パラメータ:

array Data load to fields

Return :

array

ファイル内:

app/admin/views/file/view.php 152行目

wpfd_file_preview_button_args

プレビューボタンのHTMLと引数を変更するGlobaclフィルター

パラメータ:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2688行目

wpfd_file_preview_button_handlebars_args

プレビューボタンのハンドルバーのHTMLと引数を変更するグローバルフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2546行目

wpfd_file_replace_download_with_preview

ダウンロードポップアップを無効にしたときにファイルのダウンロードリンクを変更できるようにするフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/site/themes/wpfd-ggd/theme.php 185行目app/site/themes/wpfd-ggd/theme.php 270行目app/site/themes/wpfd-preview/theme.php 223行目app/site/themes/wpfd-preview/theme.php 310行目app/site/themes/wpfd-tree/tpl.php 20行目

wpfd_file_title

ファイルのタイトルを変更するためのフィルター

パラメータ:

string File titleinteger File id

Return :

string

ファイル内:

app/site/models/filefront.php 125行目app/site/models/filefront.php 624行目app/site/models/filefront.php 465行目app/site/models/filesfront.php 241行目app/site/models/filesfront.php 404行目

wpfd_file_title_open_file_in_new_tab

フィルターを使用すると、ファイルのタイトルをクリックすると新しいタブでファイルを開くことができます。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2355行目app/site/themes/templates/wpfd-theme.class.php 585行目

wpfd_file_title_open_file_in_new_tab

フィルターを使用すると、ファイルのタイトルをクリックすると新しいタブでファイルを開くことができます。

パラメータ:

boolean

Return :

boolean

ファイル内:

app/functions.php 2355行目app/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 415行目app/admin/models/generatepreview.php 753行目

wpfd_generate_preview_queue_interval

プレビュー生成間隔を変更するフィルター。これは WPFD_GENERATE_PREVIEW_QUEUE_INTERVAL 定数を上書きします。

パラメータ:

$interval Time in second

Return :

void

ファイル内:

app/functions.php 2737行目

wpfd_generate_preview_url

プレビュー URL を生成するフィルター

パラメータ:

boolean Generate preview urlstring File idstring Category idstring Token

Return :

boolean

ファイル内:

app/site/helpers/WpfdHelperFile.php 217行目

wpfd_generate_single_template

WP File Download シングルテンプレート

パラメータ:

none

Return :

void

ファイル内:

app/site/themes/wpfd-single.php 10行目

wpfd_generated_preview_file_real_path

フィルターは生成されたプレビューファイルで何でもできるようにします

パラメータ:

string

Return :

void

ファイル内:

app/admin/models/generatepreview.php 885行目

wpfd_get_content_dir

カスタムコンテンツディレクトリを変更するためのフィルター。デフォルト: 'wp-file-download'

パラメータ:

string The current custom content dir string.

Return :

boolean

ファイル内:

app/functions.php 86行目

wpfd_get_support_cloud

フィルターはサポートされているクラウドプラットフォームを返します。カテゴリ/ファイルの場所を検出するために必要です。

パラメータ:

array Cloud platform list

Return :

array

ファイル内:

app/functions.php 1018行目

wpfd_get_template

サードパーティのプラグインフィルターを許可する

パラメータ:

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

Return :

string

ファイル内:

app/functions.php 869行目

wpfd_html_request_method

変更リクエスト方法のフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/admin/helpers/WpfdHelperFolder.php 469行目

wpfd_index_file

インデックスにファイルコンテンツを追加するフィルター

パラメータ:

array ChunksWP_Post Post object

Return :

void

ファイル内:

app/admin/models/fts.php 行 1174

wpfd_locate_template

見つかったテンプレートパスを返すフィルター

パラメータ:

string Template pathstring Template namestring Template path dir

Return :

void

ファイル内:

app/functions.php 831行目

wpfd_locate_theme

見つかったテンプレートパスを返すフィルター

パラメータ:

string Template pathstring Template namestring Template path dir

Return :

void

ファイル内:

app/functions.php 956行目

wpfd_not_authorized_redirect_url

現在のファイルをプレビューする権限がないユーザーには、リダイレクトするようにフィルターをかける。

パラメータ:

string

Return :

void

ファイル内:

app/site/controllers/file.php 84行目app/site/controllers/file.php 290行目

wpfd_not_authorized_redirect_url

現在のファイルのダウンロードを許可されていない場合にユーザーをリダイレクトするフィルター

パラメータ:

string

Return :

void

ファイル内:

app/site/controllers/file.php 84行目app/site/controllers/file.php 290行目

wpfd_password_expires

投稿パスワードCookieの有効期間をフィルタリングします。デフォルトでは、Cookieは作成から10日後に期限切れになります。これをセッションCookieに変更するには、0を返します。.

パラメータ:

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

Return :

void

ファイル内:

app/site/controllers/file.php 1411行目

wpfd_パスワードフォーム

保護された投稿パスワード フォームの HTML 出力をフィルターします。パスワード フィールドを変更する場合、フォーム入力の size 属性の値に関係なく、コア データベース スキーマによってパスワード フィールドが 20 文字に制限されることに注意してください。.

パラメータ:

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

Return :

void

ファイル内:

app/functions.php 3611行目

wpfd_preview_files_dir

プレビュードキュメントディレクトリを変更するフィルター

パラメータ:

string

Return :

void

ファイル内:

app/admin/classes/WpfdBase.php 148行目

wpfd_preview_service_url

プレビュー サービスの URL を変更するためのフィルター

パラメータ:

string Preview url with %s placeholder for url

Return :

string

ファイル内:

app/site/helpers/WpfdHelperFile.php 235行目

wpfd_preview_url

プレビュー URL を変更するフィルター

パラメータ:

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

Return :

string

ファイル内:

app/site/helpers/WpfdHelperFile.php 246行目

wpfd_real_abs_path

一部のホスティング/サーバーで間違った ABSPATH を修正するフィルター

パラメータ:

string

Return :

void

ファイル内:

app/functions.php 1159行目

wpfd_remove_download_zip_file_from_server

サーバーからzipファイルを削除するためのフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/site/controllers/files.php 114行目

wpfd_remove_expired_preview_file_time

期限切れのプレビューファイルを削除するデフォルトの時間を設定するフィルター

パラメータ:

integer|mixed

Return :

void

ファイル内:

app/admin/init.php 1444行目

wpfd_request_ssl_verify

SSL検証を有効にするフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/admin/helpers/WpfdHelperFolder.php 476行目

wpfd_search_ログインが必要です

検索ファイルのログインを確認するためのフィルター

パラメータ:

none

Return :

boolean

ファイル内:

app/site/helpers/WpfdHelperShortcodes.php 2372行目

wpfd_検索結果

検索結果のフィルター

パラメータ:

array Files resultsarray Search filters

Return :

array

ファイル内:

app/site/models/search.php 631行目

wpfd_search_results_file_title_length

検索結果のファイルの長さを変更できるようにする

パラメータ:

integer

Return :

void

ファイル内:

app/site/models/search.php 974行目

wpfd_検索結果の順序

検索結果の順序

パラメータ:

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 156行目app/admin/models/files.php 449行目

wpfd_search_tags_relation

フィルターによりタグの関係を変更可能

パラメータ:

string

Return :

void

ファイル内:

app/site/models/search.php 156行目app/admin/models/files.php 449行目

wpfd_選択されたファイル

ダウンロード対象として選択したファイルのフィルター

パラメータ:

array

Return :

void

ファイル内:

app/site/controllers/files.php 456行目app/site/controllers/files.php 734行目

wpfd_選択されたファイル

ダウンロード対象として選択したファイルのフィルター

パラメータ:

array

Return :

void

ファイル内:

app/site/controllers/files.php 456行目app/site/controllers/files.php 734行目

wpfd_選択されたファイル

ダウンロード対象として選択したファイルのフィルター

パラメータ:

array

Return :

void

ファイル内:

app/site/controllers/files.php 107行目

wpfd_show_upload_form_reverse

アップロードフォームを変更するフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/site/views/files/view.php 491行目app/site/themes/wpfd-ggd/tpl.php 282行目app/site/themes/wpfd-preview/tpl.php 285行目app/site/themes/wpfd-default/tpl.php 306行目app/site/themes/wpfd-table/tpl.php 259行目app/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_統計タイプ

統計の種類を変更する

パラメータ:

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 1889行目app/site/models/tokens.php 123行目app/site/models/tokens.php 170行目

wpfd_trash_days

ゴミ箱フォルダの日数を変更するフィルター

パラメータ:

array The list of days

Return :

array

ファイル内:

app/admin/forms/fields_v2/Trash.php 104行目

wpfd_upload_dir

フィルターによりファイルのアップロードディレクトリを変更できるようになりました

パラメータ:

string

Return :

void

ファイル内:

app/admin/classes/WpfdBase.php 113行目

wpfd_user_can

現在のユーザーのフィルターチェック機能を使用して権限設定を編集する

パラメータ:

boolean The current user has the given capabilitystring Action name

Return :

boolean

ファイル内:

app/functions.php 1198行目app/functions.php 1215行目app/functions.php 1259行目app/functions.php 1279行目app/functions.php 1299行目app/functions.php 1319行目app/functions.php 1369行目app/functions.php 1419行目app/admin/classes/install-wizard/install-wizard.php 59行目jutranslation/jutranslation.php 100行目

wpfd_user_can

現在のユーザーのファイル管理能力をフィルターチェックする

パラメータ:

boolean The current user has the given capabilitystring Action name

Return :

boolean

ファイル内:

app/functions.php 1198行目app/functions.php 1215行目app/functions.php 1259行目app/functions.php 1279行目app/functions.php 1299行目app/functions.php 1319行目app/functions.php 1369行目app/functions.php 1419行目app/admin/classes/install-wizard/install-wizard.php 59行目jutranslation/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 533行目app/site/models/filesfront.php 338行目

wpfd_wpml_download_language

ダウンロード言語をカスタマイズするためのフィルター

パラメータ:

boolean

Return :

void

ファイル内:

app/site/models/filefront.php 533行目app/site/models/filesfront.php 338行目

wpfd_you_dont_have_permission_redirect_url

現在のファイルをダウンロードする権限がない場合にユーザーをリダイレクトするフィルター

パラメータ:

string

Return :

void

ファイル内:

app/site/controllers/file.php 269行目

wpfd_{$themeName}_back_button_handlebars

戻るボタンのハンドルバーのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2799行目

wpfd_{$テーマ名}_カテゴリ説明

カテゴリの説明のHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 3002行目app/site/themes/templates/wpfd-theme.class.php 3015行目

wpfd_{$テーマ名}_カテゴリ説明

カテゴリの説明のHTMLと引数を変更するためのグローバルフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 3002行目app/site/themes/templates/wpfd-theme.class.php 3015行目

wpfd_{$themeName}_category_description_handlebars

カテゴリ説明ハンドルバーのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2968行目

wpfd_{$テーマ名}_カテゴリ_アイテム

カテゴリ項目のHTMLと引数を変更するグローバルフィルター

パラメータ:

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

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 3168行目app/site/themes/templates/wpfd-theme.class.php 3182行目

wpfd_{$テーマ名}_カテゴリ_アイテム

カテゴリ項目のHTMLと引数を変更するフィルター

パラメータ:

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

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 3168行目app/site/themes/templates/wpfd-theme.class.php 3182行目

wpfd_{$themeName}_category_item_handlebars

カテゴリアイテムハンドルバーのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 3076行目

wpfd_{$テーマ名}_カテゴリ_タイトル

カテゴリタイトルのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2921行目

wpfd_{$themeName}_category_title_handlebars

カテゴリタイトルハンドルバーのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current theme objectarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2854行目

wpfd_{$テーマ名}_カテゴリツリー

カテゴリツリーの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_{$テーマ名}_列説明ヘッダー_html

説明列のHTMLヘッダーを変更するフィルター

パラメータ:

string Header html

Return :

string

ファイル内:

app/site/themes/wpfd-table/theme.php 915行目app/site/themes/wpfd-table/theme.php 949行目app/site/themes/wpfd-table/theme.php 1303行目

wpfd_{$テーマ名}_列説明ヘッダー_html

説明列のHTMLヘッダーを変更するフィルター

パラメータ:

string Header html

Return :

string

ファイル内:

app/site/themes/wpfd-table/theme.php 915行目app/site/themes/wpfd-table/theme.php 949行目app/site/themes/wpfd-table/theme.php 1303行目

wpfd_{$テーマ名}_列説明ヘッダー_html

説明列のHTMLヘッダーを変更するフィルター

パラメータ:

string Header html

Return :

string

ファイル内:

app/site/themes/wpfd-table/theme.php 915行目app/site/themes/wpfd-table/theme.php 949行目app/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_{$テーマ名}_列サイズ_ヘッダー_html

サイズ列のHTMLヘッダーを変更するフィルター

パラメータ:

string Header html

Return :

string

ファイル内:

app/site/themes/wpfd-table/theme.php 1025行目

wpfd_{$テーマ名}_列タイトル_ヘッダー_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_{$テーマ名}_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と引数を変更するフィルター

パラメータ:

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と引数を変更するためのフィルター

パラメータ:

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と引数を変更するフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 1916行目

wpfd_{$themeName}_ファイル情報説明引数

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と引数を変更するフィルター

パラメータ:

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と引数を変更するフィルター

パラメータ:

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を変更するフィルター

パラメータ:

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

ファイル内:

app/site/themes/wpfd-preview/theme.php 175行目app/site/themes/wpfd-table/theme.php 319行目app/site/themes/templates/wpfd-theme.class.php 1957行目app/site/themes/templates/wpfd-theme.class.php 1970行目

wpfd_{$themeName}_file_info_icon_hanlebars

ハンドルバーテンプレートのアイコンHTMLを変更するフィルター

パラメータ:

string Output html for handlebars templatearray Main configarray Current category config

Return :

string

ファイル内:

app/site/themes/wpfd-preview/theme.php 175行目app/site/themes/wpfd-table/theme.php 319行目app/site/themes/templates/wpfd-theme.class.php 1957行目app/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 438行目app/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と引数を変更するためのフィルター

パラメータ:

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と引数を変更するフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 1449行目

wpfd_{$テーマ名}_ファイル情報タイトル引数

タイトルのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/wpfd-table/theme.php 504行目app/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 380行目app/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と引数を変更するフィルター

パラメータ:

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

PDFを開くボタンのHTMLと引数を変更するフィルター

パラメータ:

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

開いている PDF ボタンのハンドルバーの HTML と引数を変更するフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2513行目

wpfd_{$themeName}_file_preview_button_args

プレビューボタンのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayobject Current file objectarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2702行目

wpfd_{$themeName}_file_preview_button_handlebars_args

プレビューボタンのハンドルバーのHTMLと引数を変更するフィルター

パラメータ:

array Template arrayarray Main configarray Current category config

Return :

array

ファイル内:

app/site/themes/templates/wpfd-theme.class.php 2559行目

Composer

作曲家のロゴ 弊社のプラグインをComposerの依存関係として使用する方法をご紹介します。composer.jsonファイルでJoomunitedリポジトリを宣言してください。URL内のYOUR_TOKENをご自身のトークンに置き換えてください。トークンは、 https://www.joomunited.com/my-account/my-membership に 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"    } }

WP CLIを使用してプログラムで更新キーを設定する

Composerのインストールに使用したのと同じキーを使用して、このComposerコマンドを実行して更新トークンを設定します。 wp option update ju_user_token "YOUR_TOKEN"