wpseek.com
WordPress开发者和主题制作者的搜索引擎
{$action}_prefilter › WordPress过滤钩子
Since4.0.0
已弃用n/a
› apply_filters( "{$action}_prefilter", $file )
参数: |
|
定义在: |
|
文档: |
Filters the data for a file before it is uploaded to WordPress.
The dynamic portion of the hook name, $action
, refers to the post action.
Possible hook names include:
wp_handle_sideload_prefilter
wp_handle_upload_prefilter
Related Functions: option_update_filter, do_action_deprecated, doing_filter, do_action_ref_array, add_filter, has_filter