Iptanus File Upload 5.2.5 has 6 actions and 80 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Iptanus File Upload fires an action
add_action( '_wfu_enqueue_admin_scripts', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Iptanus File Upload is about to use
add_filter( '_wfu_ajax_action_download_file_invoker', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Customise Output of Download Initiation Operation. */ apply_filters( '_wfu_ajax_action_download_file_invoker', 'wfu_ajax_action_download_file_invoker:not_allowed:'.( isset($_POST['browser']) ? WFU_BROWSER_DOWNLOADFILE_NOTALLOWED : 'You are not allowed to download this file!' ) ); -
_wfu_file_upload_output
filter/** * Filter To Customise Uploader Output. */ apply_filters( '_wfu_file_upload_output', $wordpress_file_upload_output, $params ); -
_wfu_get_post_content
filter/** * This filter is described in wfu_loader.php */ apply_filters( '_wfu_get_post_content', $post->post_content, $post ); -
_wfu_get_users
filter/** * Filter Arguments for Getting List of Users. */ apply_filters( '_wfu_get_users', $args, "edit_file_details" ); -
/** * Customise Output of Download Monitoring Operation. */ apply_filters( '_wfu_ajax_action_download_file_monitor', 'wfu_ajax_action_download_file_monitor:'.$upload_result.':' ); -
/** * Customise Output of File Inclusion Operation. */ apply_filters( '_wfu_ajax_action_include_file', "wfu_include_file:success:".$fileid ); -
/** * Customise Output of Shortcode Subfolder Structure Retrieval. */ apply_filters( '_wfu_ajax_action_read_subfolders', 'wfu_read_subfolders:error:'.__('Parent folder is not valid! Cannot retrieve subfolder list.', 'wp-file-upload') ); -
_wfu_get_params
filter/** * Customize Params Array. */ apply_filters( '_wfu_get_params', $params, $arr, 'wfu_ajax_action_send_email_notification' ); -
_wfu_get_posts
filter/** * This filter is documented in lib/wfu_admin.php */ apply_filters( '_wfu_get_posts', $postargs, "visual_editor" ); -
_wfu_processfiles_output
filter/** * Custom Output Message */ apply_filters( '_wfu_processfiles_output', $additional_file_output, $fail_reason ); -
wfu_after_data_submit
filter/** * Custom Actions After Data Submission */ apply_filters( 'wfu_after_data_submit', $changable_data, $additional_data ); -
wfu_after_file_upload
filter/** * Custom Actions After File Upload */ apply_filters( 'wfu_after_file_upload', $changable_data, $additional_data ); -
wfu_before_admin_scripts
filter/** * Execute Custom Actions Before Loading Admin Scripts. */ apply_filters( 'wfu_before_admin_scripts', $changable_data ); -
wfu_before_file_upload
filter/** * Custom Actions Before File Upload */ apply_filters( 'wfu_before_file_upload', $target_path, $file_unique_id ); -
/** * Execute Custom Actions Before Loading Uploaded Files Scripts. */ apply_filters( 'wfu_before_uploadedfiles_admin_scripts', $changable_data ); -
wfu_debug-{$function}
filter/** * Hook on a Specific Function. */ apply_filters_ref_array( "wfu_debug-{$function}", $args ); -
_register_wfu_widget
filter/** * Allow Custom Scripts to Register WFU Widget. */ apply_filters( '_register_wfu_widget', false ); -
_wfu_add_shortcode
filter/** * Let Custom Scripts Add a Shortcode to Post. */ apply_filters( '_wfu_add_shortcode', null, $postid, $tag ); -
/** * Custom Internal Actions After File Upload Failed */ apply_filters( '_wfu_after_file_upload_failed', $changable_data_internal, $additional_data_internal ); -
/** * Custom Internal Actions After File Upload Succeeded */ apply_filters( '_wfu_after_file_upload_succeeded', $changable_data_internal, $additional_data_internal ); -
/** * Customize Upload Path. */ apply_filters( '_wfu_after_processing_uploadpath', $path, $params ); -
_wfu_after_upload
filter/** * Execute Internal Post Upload Actions. */ apply_filters( '_wfu_after_upload', $ret, $attr, $params ); -
/** * Customise Output of Post Contents Checking Function. */ apply_filters( '_wfu_ajax_action_check_page_contents', $echo_str ); -
/** * Customise Output of Shortcode Editing Initiation Function. */ apply_filters( '_wfu_ajax_action_edit_shortcode', $echo_str ); -
/** * Customise Output of File Browser Page Retrieval. */ apply_filters( '_wfu_ajax_action_get_adminbrowser_page', 'wfu_adminbrowser_page_success:'.wfu_plugin_encode_string($rows) ); -
/** * Customise Output of View Log Page Retrieval. */ apply_filters( '_wfu_ajax_action_get_historylog_page', 'wfu_historylog_page_success:'.wfu_plugin_encode_string($rows) ); -
/** * Customise Output of Uploaded Files Page Retrieval. */ apply_filters( '_wfu_ajax_action_get_uploadedfiles_page', 'wfu_uploadedfiles_page_success:'.wfu_plugin_encode_string($rows) ); -
/** * Customise Output of Gutenberg Shortcode Editing Initiation Function. */ apply_filters( '_wfu_ajax_action_gutedit_shortcode', $echo_str ); -
/** * Customise Output on Shortcode Saving. */ apply_filters( '_wfu_ajax_action_save_shortcode', $echo_str ); -
/** * Customise Email Notification Result. */ apply_filters( '_wfu_ajax_action_send_email_notification', $echo_str ); -
_wfu_before_upload
filter/** * Execute Custom Internal Actions Before Upload Starts. */ apply_filters( '_wfu_before_upload', $ret, $attr ); -
_wfu_block_inline_js_output
filter/** * Filter To Customise Block Inline JS Output. */ apply_filters( '_wfu_block_inline_js_output', $output, $params ); -
_wfu_can_open_composer
filter/** * Filter To Customise Shortcode Composer Permission. */ apply_filters( '_wfu_can_open_composer', $can_open_composer, $params ); -
/** * Customize Scan Heuristic Pattern. */ apply_filters( '_wfu_content_scan_heuristic_pattern', $pattern, $filepath, $filename, $mime, $ext ); -
/** * Customize Scan Script Pattern. */ apply_filters( '_wfu_content_scan_script_pattern', $pattern, $filepath, $filename, $mime, $ext ); -
_wfu_dashboard_actions
filter/** * Let Extensions Process Dashboard Requests. */ apply_filters( '_wfu_dashboard_actions', "", $valid_nonce, $action ); -
/** * Customize Security Checks Execution. */ apply_filters( '_wfu_during_upload_security_checks', $execute_file_security_checks, $filepath, $filename, $params ); -
_wfu_enqueue_admin_scripts
action/** * Let Scripts Enqueue Custom Dashboard Styles and Scripts. */ do_action( '_wfu_enqueue_admin_scripts' ); -
_wfu_extensions_mime_types
filter/** * Customize List of Extensions' Mime Types. */ apply_filters( '_wfu_extensions_mime_types', $list ); -
_wfu_file_upload_hide_output
filter/** * Filter When the Upload Form Must Not be Shown. */ apply_filters( '_wfu_file_upload_hide_output', "" ); -
/** * Filter To Customise Uploader Inner Output. */ apply_filters( '_wfu_file_upload_output_inner', $wordpress_file_upload_output_inner, $params ); -
_wfu_filtered_recs_queries
filter/** * Customize Filter Queries. */ apply_filters( '_wfu_filtered_recs_queries', $queries, $filter ); -
_wfu_generate_log_remarks
filter/** * Custom Log Remarks */ apply_filters( '_wfu_generate_log_remarks', $remarks, $filerec, $index, $userdatarecs, $render_functions ); -
_wfu_get_content_shortcodes
filter/** * Let Custom Scripts Modify the Found Shortcodes. */ apply_filters( '_wfu_get_content_shortcodes', $found_shortcodes, $post, $tag ); -
_wfu_get_request_options
filter/** * Customize GET Request Options. */ apply_filters( '_wfu_get_request_options', $args, "wp", $default_args ); -
_wfu_install_pre_actions
action/** * Execute Install Pre Actions. */ do_action( '_wfu_install_pre_actions' ); -
_wfu_load_pre_actions
action/** * Execute Load Pre Actions. */ do_action( '_wfu_load_pre_actions' ); -
_wfu_make_rec_obsolete
filter/** * Customize Whether Record Should Become Obsolete. */ apply_filters( '_wfu_make_rec_obsolete', $make_obsolete, $filerec, $context ); -
_wfu_personal_data_entities
filter/** * Let Custom Scripts Modify Personal Data Entities. */ apply_filters( '_wfu_personal_data_entities', $entities ); -
_wfu_personal_data_locations
filter/** * Let Custom Scripts Modify Personal Data Locations. */ apply_filters( '_wfu_personal_data_locations', $locations ); -
/** * Let Custom Scripts Modify Personal Data Log Actions. */ apply_filters( '_wfu_personal_data_logactions', $logactions ); -
/** * Let Custom Scripts Modify Personal Data Operations. */ apply_filters( '_wfu_personal_data_operations', $operations ); -
/** * Let Custom Scripts Modify Personal Data Permissions. */ apply_filters( '_wfu_personal_data_permissions', $permissions ); -
_wfu_personal_data_types
filter/** * Let Custom Scripts Modify Personal Data Types. */ apply_filters( '_wfu_personal_data_types', $types ); -
/** * Customize Security Checks Execution. */ apply_filters( '_wfu_post_load_security_checks', $execute_file_security_checks, $filepath, $params ); -
_wfu_post_request_options
filter/** * Customize POST Request Options. */ apply_filters( '_wfu_post_request_options', $args, "wp", $default_args ); -
_wfu_pre_upload_check
filter/** * Execute Pre-Upload Checks. */ apply_filters( '_wfu_pre_upload_check', $ret, $attr ); -
_wfu_register_admin_scripts
action/** * Let Scripts Register Custom Dashboard Styles and Scripts. */ do_action( '_wfu_register_admin_scripts' ); -
_wfu_replace_shortcode
filter/** * Let Custom Scripts Modify Shortcode Replacement. */ apply_filters( '_wfu_replace_shortcode', null, $data, $new_shortcode ); -
_wfu_sanitize_shortcode
filter/** * Custom Shortcode Sanitization. */ apply_filters( '_wfu_sanitize_shortcode', $new_value, $attr, $validator, $value ); -
_wfu_settings_definitions
filter/** * Customize settings definitions. */ apply_filters( '_wfu_settings_definitions', $settings ); -
_wfu_upload_callback_success
filter/** * Customise Output of Successful AJAX Upload. */ apply_filters( '_wfu_upload_callback_success', $echo_str ); -
/** * Customise Output on Forced Connection Close. */ apply_filters( '_wfu_upload_force_connection_close', 'success' ); -
_wfu_upload_session_failed
filter/** * Customise Output on Session Error. */ apply_filters( '_wfu_upload_session_failed', $echo_str ); -
_wfu_upload_uniqueid_failed
filter/** * Customise Output on Unique ID Fail. */ apply_filters( '_wfu_upload_uniqueid_failed', 'force_errorabort_code' ); -
_wfu_upload_user_failed
filter/** * Customise Output on User Error. */ apply_filters( '_wfu_upload_user_failed', $echo_str ); -
_wfu_uploadedfiles_output
filter/** * Customize Uploaded Files Page Output. */ apply_filters( '_wfu_uploadedfiles_output', $echo_str, $page, $only_table_rows ); -
/** * Customize Uploaded File Actions. */ apply_filters( '_wfu_uploadefiles_file_actions', $actions, $filerec, $i ); -
_wfu_uploadefiles_file_link
filter/** * Customize Default File Link. */ apply_filters( '_wfu_uploadefiles_file_link', $default_link, $filerec, $i ); -
/** * Customize Uploaded File Properties. */ apply_filters( '_wfu_uploadefiles_file_properties', $properties, $filerec, $i ); -
_wfu_uploader_template
filter/** * Filter To Define Custom Uploader Template. */ apply_filters( '_wfu_uploader_template', $params["uploadertemplate"], $params ); -
/** * Customize Userdata Additional Props. */ apply_filters( '_wfu_userdata_additional_props', $additional_props, $params, $additional_params ); -
_wfu_validate_mime_type
filter/** * Custom MIME Type Validation */ apply_filters( '_wfu_validate_mime_type', $ret, $filepath, $filename, $ext ); -
wfu_after_file_loaded
filter/** * Custom Actions After File Has Fully Loaded */ apply_filters( 'wfu_after_file_loaded', $changable_data, $additional_data ); -
wfu_after_frontpage_scripts
action/** * Execute Custom Actions After Loading Frontpage Scripts. */ do_action( 'wfu_after_frontpage_scripts' ); -
wfu_after_upload
filter/** * Execute Post Upload Actions. */ apply_filters( 'wfu_after_upload', $ret, $attr ); -
wfu_before_data_submit
filter/** * Custom Actions Before Data Submission */ apply_filters( 'wfu_before_data_submit', $changable_data, $additional_data ); -
/** * Customize Notification Email. */ apply_filters( 'wfu_before_email_notification', $changable_data, $additional_data ); -
wfu_before_file_check
filter/** * Custom Actions Before File Checks */ apply_filters( 'wfu_before_file_check', $changable_data, $additional_data ); -
wfu_before_frontpage_scripts
filter/** * Execute Custom Actions Before Loading Frontpage Scripts. */ apply_filters( 'wfu_before_frontpage_scripts', $changable_data ); -
wfu_before_upload
filter/** * Execute Custom Actions Before Upload Starts. */ apply_filters( 'wfu_before_upload', $changable_data, $attr ); -
/** * Check if Action is Allowed in Front-End File Browser. */ apply_filters( 'wfu_browser_check_file_action', $changable_data, $additional_data ); -
apply_filters( '_wfu_file_details_history_item', $rep_item, $rec ); -
wfu_after_file_complete
filterapply_filters( 'wfu_after_file_complete', $changable_data, $additional_data ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'] ); -
wpfilebase_sync
actiondo_action( 'wpfilebase_sync' );
Generated from Iptanus File Upload's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: