Iptanus File Upload icon
Forms

Iptanus File Upload hooks reference

  • By nickboss
  • v5.2.5 New
  • Updated

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.

functions.phpyour child theme
// 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

  • lib/wfu_ajaxactions.php line 1066 · used in 3 places
    /**
     * 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_loader.php line 800 · used in 3 places
    /**
     * Filter To Customise Uploader Output.
     */
    apply_filters( '_wfu_file_upload_output', $wordpress_file_upload_output, $params );
  • lib/wfu_admin.php line 1573 · used in 3 places
    /**
     * This filter is described in wfu_loader.php
     */
    apply_filters( '_wfu_get_post_content', $post->post_content, $post );
  • lib/wfu_admin_browser.php line 1461 · used in 3 places
    /**
     * Filter Arguments for Getting List of Users.
     */
    apply_filters( '_wfu_get_users', $args, "edit_file_details" );
  • lib/wfu_ajaxactions.php line 1245 · used in 2 places
    /**
     * Customise Output of Download Monitoring Operation.
     */
    apply_filters( '_wfu_ajax_action_download_file_monitor', 'wfu_ajax_action_download_file_monitor:'.$upload_result.':' );
  • lib/wfu_ajaxactions.php line 1394 · used in 2 places
    /**
     * Customise Output of File Inclusion Operation.
     */
    apply_filters( '_wfu_ajax_action_include_file', "wfu_include_file:success:".$fileid );
  • lib/wfu_ajaxactions.php line 954 · used in 2 places
    /**
     * 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') );
  • lib/wfu_ajaxactions.php line 66 · used in 2 places
    /**
     * Customize Params Array.
     */
    apply_filters( '_wfu_get_params', $params, $arr, 'wfu_ajax_action_send_email_notification' );
  • lib/wfu_admin_composer.php line 601 · used in 2 places
    /**
     * This filter is documented in lib/wfu_admin.php
     */
    apply_filters( '_wfu_get_posts', $postargs, "visual_editor" );
  • lib/wfu_processfiles.php line 574 · used in 2 places
    /**
     * Custom Output Message
     */
    apply_filters( '_wfu_processfiles_output', $additional_file_output, $fail_reason );
  • lib/wfu_processfiles.php line 1131 · used in 2 places
    /**
     * Custom Actions After Data Submission
     */
    apply_filters( 'wfu_after_data_submit', $changable_data, $additional_data );
  • lib/wfu_processfiles.php line 1099 · used in 2 places
    /**
     * Custom Actions After File Upload
     */
    apply_filters( 'wfu_after_file_upload', $changable_data, $additional_data );
  • lib/wfu_admin.php line 62 · used in 2 places
    /**
     * Execute Custom Actions Before Loading Admin Scripts.
     */
    apply_filters( 'wfu_before_admin_scripts', $changable_data );
  • lib/wfu_processfiles.php line 644 · used in 2 places
    /**
     * Custom Actions Before File Upload
     */
    apply_filters( 'wfu_before_file_upload', $target_path, $file_unique_id );
  • lib/wfu_admin.php line 120 · used in 2 places
    /**
     * Execute Custom Actions Before Loading Uploaded Files Scripts.
     */
    apply_filters( 'wfu_before_uploadedfiles_admin_scripts', $changable_data );
  • lib/wfu_functions.php line 149 · used in 2 places
    /**
     * Hook on a Specific Function.
     */
    apply_filters_ref_array( "wfu_debug-{$function}", $args );
  • wfu_loader.php line 186
    /**
     * Allow Custom Scripts to Register WFU Widget.
     */
    apply_filters( '_register_wfu_widget', false );
  • lib/wfu_admin.php line 1607
    /**
     * Let Custom Scripts Add a Shortcode to Post.
     */
    apply_filters( '_wfu_add_shortcode', null, $postid, $tag );
  • lib/wfu_processfiles.php line 1056
    /**
     * Custom Internal Actions After File Upload Failed
     */
    apply_filters( '_wfu_after_file_upload_failed', $changable_data_internal, $additional_data_internal );
  • lib/wfu_processfiles.php line 1213
    /**
     * Custom Internal Actions After File Upload Succeeded
     */
    apply_filters( '_wfu_after_file_upload_succeeded', $changable_data_internal, $additional_data_internal );
  • lib/wfu_functions.php line 2402
    /**
     * Customize Upload Path.
     */
    apply_filters( '_wfu_after_processing_uploadpath', $path, $params );
  • wfu_loader.php line 1237
    /**
     * Execute Internal Post Upload Actions.
     */
    apply_filters( '_wfu_after_upload', $ret, $attr, $params );
  • lib/wfu_ajaxactions.php line 757
    /**
     * Customise Output of Post Contents Checking Function.
     */
    apply_filters( '_wfu_ajax_action_check_page_contents', $echo_str );
  • lib/wfu_ajaxactions.php line 855
    /**
     * Customise Output of Shortcode Editing Initiation Function.
     */
    apply_filters( '_wfu_ajax_action_edit_shortcode', $echo_str );
  • lib/wfu_ajaxactions.php line 1351
    /**
     * Customise Output of File Browser Page Retrieval.
     */
    apply_filters( '_wfu_ajax_action_get_adminbrowser_page', 'wfu_adminbrowser_page_success:'.wfu_plugin_encode_string($rows) );
  • lib/wfu_ajaxactions.php line 1284
    /**
     * Customise Output of View Log Page Retrieval.
     */
    apply_filters( '_wfu_ajax_action_get_historylog_page', 'wfu_historylog_page_success:'.wfu_plugin_encode_string($rows) );
  • lib/wfu_ajaxactions.php line 1316
    /**
     * Customise Output of Uploaded Files Page Retrieval.
     */
    apply_filters( '_wfu_ajax_action_get_uploadedfiles_page', 'wfu_uploadedfiles_page_success:'.wfu_plugin_encode_string($rows) );
  • lib/wfu_ajaxactions.php line 911
    /**
     * Customise Output of Gutenberg Shortcode Editing Initiation Function.
     */
    apply_filters( '_wfu_ajax_action_gutedit_shortcode', $echo_str );
  • lib/wfu_ajaxactions.php line 721
    /**
     * Customise Output on Shortcode Saving.
     */
    apply_filters( '_wfu_ajax_action_save_shortcode', $echo_str );
  • lib/wfu_ajaxactions.php line 172
    /**
     * Customise Email Notification Result.
     */
    apply_filters( '_wfu_ajax_action_send_email_notification', $echo_str );
  • lib/wfu_ajaxactions.php line 305
    /**
     * Execute Custom Internal Actions Before Upload Starts.
     */
    apply_filters( '_wfu_before_upload', $ret, $attr );
  • wfu_loader.php line 969
    /**
     * Filter To Customise Block Inline JS Output.
     */
    apply_filters( '_wfu_block_inline_js_output', $output, $params );
  • wfu_loader.php line 466
    /**
     * Filter To Customise Shortcode Composer Permission.
     */
    apply_filters( '_wfu_can_open_composer', $can_open_composer, $params );
  • lib/wfu_security.php line 680
    /**
     * Customize Scan Heuristic Pattern.
     */
    apply_filters( '_wfu_content_scan_heuristic_pattern', $pattern, $filepath, $filename, $mime, $ext );
  • lib/wfu_security.php line 641
    /**
     * Customize Scan Script Pattern.
     */
    apply_filters( '_wfu_content_scan_script_pattern', $pattern, $filepath, $filename, $mime, $ext );
  • lib/wfu_admin.php line 776
    /**
     * Let Extensions Process Dashboard Requests.
     */
    apply_filters( '_wfu_dashboard_actions', "", $valid_nonce, $action );
  • lib/wfu_security.php line 264
    /**
     * Customize Security Checks Execution.
     */
    apply_filters( '_wfu_during_upload_security_checks', $execute_file_security_checks, $filepath, $filename, $params );
  • lib/wfu_admin.php line 235
    /**
     * Let Scripts Enqueue Custom Dashboard Styles and Scripts.
     */
    do_action( '_wfu_enqueue_admin_scripts' );
  • lib/wfu_security.php line 75
    /**
     * Customize List of Extensions' Mime Types.
     */
    apply_filters( '_wfu_extensions_mime_types', $list );
  • wfu_loader.php line 543
    /**
     * Filter When the Upload Form Must Not be Shown.
     */
    apply_filters( '_wfu_file_upload_hide_output', "" );
  • wfu_loader.php line 776
    /**
     * Filter To Customise Uploader Inner Output.
     */
    apply_filters( '_wfu_file_upload_output_inner', $wordpress_file_upload_output_inner, $params );
  • lib/wfu_functions.php line 5191
    /**
     * Customize Filter Queries.
     */
    apply_filters( '_wfu_filtered_recs_queries', $queries, $filter );
  • lib/wfu_admin_log.php line 312
    /**
     * Custom Log Remarks
     */
    apply_filters( '_wfu_generate_log_remarks', $remarks, $filerec, $index, $userdatarecs, $render_functions );
  • lib/wfu_admin.php line 1512
    /**
     * Let Custom Scripts Modify the Found Shortcodes.
     */
    apply_filters( '_wfu_get_content_shortcodes', $found_shortcodes, $post, $tag );
  • lib/wfu_functions.php line 8459
    /**
     * Customize GET Request Options.
     */
    apply_filters( '_wfu_get_request_options', $args, "wp", $default_args );
  • lib/wfu_admin.php line 319
    /**
     * Execute Install Pre Actions.
     */
    do_action( '_wfu_install_pre_actions' );
  • wfu_loader.php line 135
    /**
     * Execute Load Pre Actions.
     */
    do_action( '_wfu_load_pre_actions' );
  • lib/wfu_functions.php line 4836
    /**
     * Customize Whether Record Should Become Obsolete.
     */
    apply_filters( '_wfu_make_rec_obsolete', $make_obsolete, $filerec, $context );
  • lib/wfu_pd_definitions.php line 654
    /**
     * Let Custom Scripts Modify Personal Data Entities.
     */
    apply_filters( '_wfu_personal_data_entities', $entities );
  • lib/wfu_pd_definitions.php line 418
    /**
     * Let Custom Scripts Modify Personal Data Locations.
     */
    apply_filters( '_wfu_personal_data_locations', $locations );
  • lib/wfu_pd_definitions.php line 789
    /**
     * Let Custom Scripts Modify Personal Data Log Actions.
     */
    apply_filters( '_wfu_personal_data_logactions', $logactions );
  • lib/wfu_pd_definitions.php line 371
    /**
     * Let Custom Scripts Modify Personal Data Operations.
     */
    apply_filters( '_wfu_personal_data_operations', $operations );
  • lib/wfu_pd_definitions.php line 607
    /**
     * Let Custom Scripts Modify Personal Data Permissions.
     */
    apply_filters( '_wfu_personal_data_permissions', $permissions );
  • lib/wfu_pd_definitions.php line 69
    /**
     * Let Custom Scripts Modify Personal Data Types.
     */
    apply_filters( '_wfu_personal_data_types', $types );
  • lib/wfu_security.php line 214
    /**
     * Customize Security Checks Execution.
     */
    apply_filters( '_wfu_post_load_security_checks', $execute_file_security_checks, $filepath, $params );
  • lib/wfu_functions.php line 8370
    /**
     * Customize POST Request Options.
     */
    apply_filters( '_wfu_post_request_options', $args, "wp", $default_args );
  • lib/wfu_ajaxactions.php line 570
    /**
     * Execute Pre-Upload Checks.
     */
    apply_filters( '_wfu_pre_upload_check', $ret, $attr );
  • lib/wfu_admin.php line 87
    /**
     * Let Scripts Register Custom Dashboard Styles and Scripts.
     */
    do_action( '_wfu_register_admin_scripts' );
  • lib/wfu_admin.php line 1654
    /**
     * Let Custom Scripts Modify Shortcode Replacement.
     */
    apply_filters( '_wfu_replace_shortcode', null, $data, $new_shortcode );
  • lib/wfu_functions.php line 872
    /**
     * Custom Shortcode Sanitization.
     */
    apply_filters( '_wfu_sanitize_shortcode', $new_value, $attr, $validator, $value );
  • lib/wfu_admin_settings.php line 57
    /**
     * Customize settings definitions.
     */
    apply_filters( '_wfu_settings_definitions', $settings );
  • lib/wfu_ajaxactions.php line 625
    /**
     * Customise Output of Successful AJAX Upload.
     */
    apply_filters( '_wfu_upload_callback_success', $echo_str );
  • lib/wfu_ajaxactions.php line 497
    /**
     * Customise Output on Forced Connection Close.
     */
    apply_filters( '_wfu_upload_force_connection_close', 'success' );
  • lib/wfu_ajaxactions.php line 450
    /**
     * Customise Output on Session Error.
     */
    apply_filters( '_wfu_upload_session_failed', $echo_str );
  • lib/wfu_ajaxactions.php line 513
    /**
     * Customise Output on Unique ID Fail.
     */
    apply_filters( '_wfu_upload_uniqueid_failed', 'force_errorabort_code' );
  • lib/wfu_ajaxactions.php line 477
    /**
     * Customise Output on User Error.
     */
    apply_filters( '_wfu_upload_user_failed', $echo_str );
  • lib/wfu_admin_uploadedfiles.php line 368
    /**
     * Customize Uploaded Files Page Output.
     */
    apply_filters( '_wfu_uploadedfiles_output', $echo_str, $page, $only_table_rows );
  • lib/wfu_admin_uploadedfiles.php line 290
    /**
     * Customize Uploaded File Actions.
     */
    apply_filters( '_wfu_uploadefiles_file_actions', $actions, $filerec, $i );
  • lib/wfu_admin_uploadedfiles.php line 237
    /**
     * Customize Uploaded File Properties.
     */
    apply_filters( '_wfu_uploadefiles_file_properties', $properties, $filerec, $i );
  • wfu_loader.php line 649
    /**
     * Filter To Define Custom Uploader Template.
     */
    apply_filters( '_wfu_uploader_template', $params["uploadertemplate"], $params );
  • lib/wfu_blocks.php line 731
    /**
     * Customize Userdata Additional Props.
     */
    apply_filters( '_wfu_userdata_additional_props', $additional_props, $params, $additional_params );
  • lib/wfu_security.php line 173
    /**
     * Custom MIME Type Validation
     */
    apply_filters( '_wfu_validate_mime_type', $ret, $filepath, $filename, $ext );
  • lib/wfu_processfiles.php line 916
    /**
     * Custom Actions After File Has Fully Loaded
     */
    apply_filters( 'wfu_after_file_loaded', $changable_data, $additional_data );
  • wfu_loader.php line 264
    /**
     * Execute Custom Actions After Loading Frontpage Scripts.
     */
    do_action( 'wfu_after_frontpage_scripts' );
  • wfu_loader.php line 1259
    /**
     * Execute Post Upload Actions.
     */
    apply_filters( 'wfu_after_upload', $ret, $attr );
  • lib/wfu_processfiles.php line 376
    /**
     * Custom Actions Before Data Submission
     */
    apply_filters( 'wfu_before_data_submit', $changable_data, $additional_data );
  • lib/wfu_functions.php line 6780
    /**
     * Customize Notification Email.
     */
    apply_filters( 'wfu_before_email_notification', $changable_data, $additional_data );
  • lib/wfu_processfiles.php line 343
    /**
     * Custom Actions Before File Checks
     */
    apply_filters( 'wfu_before_file_check', $changable_data, $additional_data );
  • wfu_loader.php line 229
    /**
     * Execute Custom Actions Before Loading Frontpage Scripts.
     */
    apply_filters( 'wfu_before_frontpage_scripts', $changable_data );
  • lib/wfu_ajaxactions.php line 264
    /**
     * Execute Custom Actions Before Upload Starts.
     */
    apply_filters( 'wfu_before_upload', $changable_data, $attr );
  • lib/wfu_ajaxactions.php line 1108
    /**
     * Check if Action is Allowed in Front-End File Browser.
     */
    apply_filters( 'wfu_browser_check_file_action', $changable_data, $additional_data );
  • lib/wfu_admin_browser.php line 1614
    apply_filters( '_wfu_file_details_history_item', $rep_item, $rec );
  • lib/wfu_processfiles.php line 924
    apply_filters( 'wfu_after_file_complete', $changable_data, $additional_data );
  • widget_title

    filter
    lib/wfu_widget.php line 39
    apply_filters( 'widget_title', $instance['title'] );
  • lib/wfu_ajaxactions.php line 1424
    do_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: