External files in Media Library 6.0.0 has 83 actions and 199 filters, read directly from its source code on Nov 18, 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 External files in Media Library fires an action
add_action( 'efml_switch_to_local_failed', function( $instance ) {
// Your code runs here.
}, 10, 1 );
// Change a value External files in Media Library is about to use
add_filter( 'efml_external_file_infos', function( $results, $file_path, $response_headers ) {
// Change $results here.
return $results;
}, 10, 3 );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
-
/** * Filter the data of a single file during import. */ apply_filters( 'efml_external_file_infos', $results, $file_path, $response_headers ); -
/** * Filter list of files during this import. */ apply_filters( 'efml_external_files_infos', $files, $instance, $url ); -
/** * Run additional tasks if the switch to local hosting of an external file * failed. */ do_action( 'efml_switch_to_local_failed', $instance ); -
/** * Filter single URL before it will be added as external file. */ apply_filters( 'efml_import_url', $url ); -
/** * Filter whether the given URL should be saved as local temp file. */ apply_filters( 'efml_save_temp_file', $true, $url ); -
/** * Filter the dialog. This is the main handling to extend the import dialog. */ apply_filters( 'efml_add_dialog', $dialog, $settings ); -
/** * Run additional tasks after new external file has been added. */ do_action( 'efml_after_file_save', $external_file_obj, $file_data, $file_url ); -
/** * Filter the resulting for checking an external URL. */ apply_filters( 'efml_check_url', $return, $this->get_url() ); -
/** * Filter the given settings for the import dialog. */ apply_filters( 'efml_dialog_settings', $settings ); -
/** * Filter the allowed base directory for local files. */ apply_filters( 'efml_file_base', $base ); -
/** * Filter if an HTTP-file should be saved local or not. */ apply_filters( 'efml_http_save_local', $result, $url ); -
/** * Filter whether files should be forced to save local if URL is using SSL but * the website not. */ apply_filters( 'efml_http_ssl', $true, $url ); -
/** * Filter the timeout for the AJAX-info-request. */ apply_filters( 'efml_import_info_timeout', $info_timeout ); -
/** * Filter the errors during an AJAX-request to add URLs. */ apply_filters( 'efml_import_urls_errors', $errors ); -
/** * Filter the possible user settings for import dialog. */ apply_filters( 'efml_user_settings', $settings ); -
/** * Filter the list of abilities this plugin provides for the Abilities API. */ apply_filters( 'efml_abilities', $abilities ); -
/** * Filter whether the abilities of this plugin are enabled. */ apply_filters( 'efml_abilities_enabled', $enabled ); -
/** * Filter the mode for the abilities of this plugin. */ apply_filters( 'efml_abilities_mode', is_string( $mode ) ? $mode : 'read' ); -
/** * Run tasks after the import. */ do_action( 'efml_after_import', $url, $fields ); -
/** * Allow to add additional tasks after sync has been running. */ do_action( 'efml_after_sync', $url, $term_data, $term_id ); -
/** * Filter if attachment link should not be changed. */ apply_filters( 'efml_attachment_link', $false, $url, $attachment_id ); -
/** * Run additional tasks to add custom metadata on external hostet files. */ do_action( 'efml_audio_meta_data', $external_file_obj ); -
/** * Allow to add additional tasks before sync is running. */ do_action( 'efml_before_deleting_synced_files', $term_id ); -
/** * Run action just before we go through the list of resulting files. */ do_action( 'efml_before_file_list', $url, $files ); -
/** * Run additional tasks before new external file will be added. */ do_action( 'efml_before_file_save', $file_data ); -
/** * Run any task before we start to import a given URL. */ do_action( 'efml_before_import', $url, $fields ); -
/** * Allow to add additional tasks before sync is running. */ do_action( 'efml_before_sync', $url, $term_data, $term_id ); -
/** * Change content of .htaccess to prevent access of cache files. */ apply_filters( 'efml_cache_file_htaccess', $htaccess ); -
/** * Change content of index.php to prevent access of cache file directory. */ apply_filters( 'efml_cache_file_index_php', $index_php ); -
/** * Change content of web.config to prevent access of cache files. */ apply_filters( 'efml_cache_file_web_config', $web_config ); -
/** * Filter the list of possible capability sets. */ apply_filters( 'efml_capability_sets', $list ); -
/** * Filter the result of checking an external URL. */ apply_filters( 'efml_check_url_availability', $return, $url ); -
/** * Filter the URL before we check it. */ apply_filters( 'efml_check_url_before', $url ); -
/** * Run additional tasks from extensions. */ do_action( 'efml_cli_arguments', $arguments ); -
/** * Filter the list of possible configurations. */ apply_filters( 'efml_configurations', $list ); -
/** * Filter the resulting language. */ apply_filters( 'efml_current_language', $wp_language ); -
/** * Filter the dialog after adding files. */ apply_filters( 'efml_dialog_after_adding', $dialog ); -
/** * Filter the possible WordPress REST API paths. */ apply_filters( 'efml_directory_listing_rest_paths', $list ); -
/** * Filter the translations to use for directory listings. */ apply_filters( 'efml_directory_translations', $translations ); -
/** * Disable the additional cron check. */ apply_filters( 'efml_disable_cron_check', $false ); -
/** * Filter the URL where Dropbox user will find their access token. */ apply_filters( 'efml_dropbox_access_token_url', $url ); -
/** * Filter the DropBox client to use, e.g. for tests. Return a client to use it * instead of the default one. */ apply_filters( 'efml_dropbox_client', null ); -
/** * Run action just before the file check via Dropbox-protocol. */ do_action( 'efml_dropbox_directory_import_file_check', $file_url ); -
/** * Run action if we have files to check via Dropbox-protocol. */ do_action( 'efml_dropbox_directory_import_files', $url, $entries ); -
/** * Filter the DropBox OAuth URL. */ apply_filters( 'efml_dropbox_oauth_url', $url ); -
/** * Filter the DropBox OAuth URL for step 2 */ apply_filters( 'efml_dropbox_oauth_url_step_2', $url ); -
/** * Filter to prevent duplicate check. */ apply_filters( 'efml_duplicate_check', $false, $url ); -
/** * Filter the used file version (for JS- and CSS-files, which get enqueued). */ apply_filters( 'efml_enqueued_file_version', $plugin_version, $filepath ); -
/** * Filter the actions for export handlings on the external source terms. */ apply_filters( 'efml_export_actions', $actions, $term_id ); -
/** * Run additional tasks before we export a given file. */ do_action( 'efml_export_before', $attachment_id ); -
/** * Run additional tasks before we export a given file to a specific external * source. */ do_action( 'efml_export_before_on_service', $listing_obj, $term_id, $attachment_id, $file ); -
/** * Filter the dialog to configure an export. */ apply_filters( 'efml_export_config_dialog', $dialog, $term_id ); -
/** * Filter the possible HTTP states for export URLs during export configuration. */ apply_filters( 'efml_export_configuration_url_state', $result, $url ); -
/** * Filter the list of default extensions. */ apply_filters( 'efml_export_dialog_extensions_default', $list ); -
/** * File the filename for JSON-download of single file. */ apply_filters( 'efml_export_file_filename', $filename ); -
/** * Filter the detected service object for export views. */ apply_filters( 'efml_export_object', $listing_obj ); -
/** * Run additional tasks after saving an export dialog. */ do_action( 'efml_export_save_config', $term_id ); -
/** * Filter the dialog after saving an updated export configuration. */ apply_filters( 'efml_export_save_config_dialog', $dialog, $term_id ); -
/** * File the filename for JSON-download of a service file. */ apply_filters( 'efml_export_service_filename', $filename ); -
/** * Filter the list of supported extension types. */ apply_filters( 'efml_extension_types', $list ); -
/** * Filter the list of available file handling extensions. */ apply_filters( 'efml_extensions', $list ); -
/** * Filter and return the availability of an external file. */ apply_filters( 'efml_file_availability', $this->availability, $instance ); -
/** * Filter the check if local file exist. */ apply_filters( 'efml_file_check_existence', $true, $file_path ); -
/** * Run additional tasks for URL deletion. */ do_action( 'efml_file_delete', $external_file_obj ); -
/** * Run action just before the file is added to the list via file-protocol. */ do_action( 'efml_file_directory_import_file_before_to_list', $file_path, $file_list ); -
/** * Run action just before the file check via file-protocol. */ do_action( 'efml_file_directory_import_file_check', $file_path ); -
/** * Run action if we have files to check via FILE-protocol. */ do_action( 'efml_file_directory_import_files', $url, $file_list ); -
/** * Run action on beginning of presumed directory import via file-protocol. */ do_action( 'efml_file_directory_import_start', $url ); -
/** * Filter the attachment settings */ apply_filters( 'efml_file_import_attachment', $post_array, $file_url, $file_data ); -
/** * Run action just before the file is saved in the database. */ do_action( 'efml_file_import_before_save', $file_url ); -
/** * Filter the error, which prevents the import of a single file. */ apply_filters( 'efml_file_import_error', '', $file_data, $url ); -
/** * Filter the URL for a single file during import. */ apply_filters( 'efml_file_import_file_url', $file_url, $file_data ); -
/** * Filter the title for a single file during import. */ apply_filters( 'efml_file_import_title', $title, $file_url, $file_data ); -
/** * Filter the user_id for a single file during import. */ apply_filters( 'efml_file_import_user', $user_id, $url ); -
/** * Filter whether file should be proxied. */ apply_filters( 'efml_file_prevent_proxied_url', $true, $instance ); -
/** * Filter the limits for the file size of a single file. */ apply_filters( 'efml_file_size_limits', $limits, $mime_type, $service ); -
/** * Filter the list of services, whose files do not have a file size. They do * not get settings for the limits of the file size. */ apply_filters( 'efml_file_size_limits_services_without_size', $list ); -
/** * Filter the result of file type compatibility check. */ apply_filters( 'efml_file_type_compatibility_result', $result, $external_file_obj, $mime_type ); -
/** * Filter the supported mime types of single file type. */ apply_filters( 'efml_file_type_supported_mime_types', $mime_type, $external_file_obj ); -
/** * Filter the list of supported file types. */ apply_filters( 'efml_file_types', $list ); -
/** * Filter whether we check the given mime type. */ apply_filters( 'efml_files_check_content_type', $true, $url ); -
/** * Filter the query to load all external files. */ apply_filters( 'efml_files_query', $query ); -
/** * Filter the file with custom import methods. */ apply_filters( 'efml_filter_file_response', $files, $url, $instance ); -
/** * Filter the possible options. */ apply_filters( 'efml_filter_options', $options ); -
/** * Filter the query. */ do_action_ref_array( 'efml_filter_query', array( &$query ) ); -
/** * Filter the URL with custom import methods. */ apply_filters( 'efml_filter_url_response', $results, $this->get_url(), $instance ); -
/** * Filter the filesystem permissions. */ apply_filters( 'efml_fs_chmod', $mode ); -
/** * Run action just before the file is added to the list via FTP-protocol. */ do_action( 'efml_ftp_directory_import_file_before_to_list', $file_url, $file_list ); -
/** * Run action just before the file check via FTP-protocol. */ do_action( 'efml_ftp_directory_import_file_check', $file_url ); -
/** * Run action if we have files to check via FTP-protocol. */ do_action( 'efml_ftp_directory_import_files', $url, $file_list ); -
/** * Run action on beginning of presumed directory import via FTP-protocol. */ do_action( 'efml_ftp_directory_import_start', $url ); -
/** * Filter whether the address the FTP server returns for passive mode should be * used for data connections. */ apply_filters( 'efml_ftp_use_pasv_address', $use_pasv_address, $url ); -
/** * Filter the list of possible mime types. This is the list used by the plugin * during file-checks and is invisible or editable in the backend. */ apply_filters( 'efml_get_mime_types', $mime_types ); -
/** * Filter the list of help tabs with its contents. */ apply_filters( 'efml_help_tabs', $list ); -
/** * Hide intro via hook. */ apply_filters( 'efml_hide_intro', $false ); -
/** * Filter for check of file content type during availability check. */ apply_filters( 'efml_http_check_content_type', $true, $url ); -
/** * Filter for check if file has content-type given. */ apply_filters( 'efml_http_check_content_type_existence', $true, $url ); -
/** * Run action just before the file is added to the list via HTTP-protocol. */ do_action( 'efml_http_directory_import_file_before_to_list', $file_url, $matches[1] ); -
/** * Run action just before the file check via HTTP-protocol. */ do_action( 'efml_http_directory_import_file_check', $file_url ); -
/** * Run action if we have files to check via HTTP-protocol. */ do_action( 'efml_http_directory_import_files', $this->get_url(), $matches[1] ); -
/** * Run action on beginning of presumed directory import. */ do_action( 'efml_http_directory_import_start', $this->get_url() ); -
/** * Filter the content with regex via HTTP-protocol. */ apply_filters( 'efml_http_directory_regex', $matches, $content, $url ); -
/** * Filter the resulting header. */ apply_filters( 'efml_http_header_args', $args, $instance ); -
/** * Filter the HTTP header response for an external URL. */ apply_filters( 'efml_http_header_response', $response, $instance, $url ); -
/** * Filter the list of allowed http states. */ apply_filters( 'efml_http_states', $list, $url ); -
/** * Run additional tasks to add custom meta data on external hostet files. */ do_action( 'efml_image_meta_data', $external_file_obj, $image_meta ); -
/** * Run additional tasks just before AJAX-related import of URLs is marked as * completed. */ do_action( 'efml_import_ajax_end', $url_array ); -
/** * Run additional tasks just before AJAX-related import of URLs is starting. */ do_action( 'efml_import_ajax_start', $url_array ); -
/** * Filter the list of default extensions. */ apply_filters( 'efml_import_dialog_extensions_default', $list ); -
/** * Filter the given fields array to import URLs. */ apply_filters( 'efml_import_fields', $fields, $url_array, $urls ); -
/** * Filter whether we import no external files. */ apply_filters( 'efml_import_no_external_file', $no_external_object, $url, $file_data, $external_file_obj ); -
/** * Filter the options used for import of this URL via queue. */ apply_filters( 'efml_import_options', $options, $url ); -
/** * Filter the URLs for use for this import. */ apply_filters( 'efml_import_urls', $url_array, $urls ); -
/** * Filter the list of possible intervals. */ apply_filters( 'efml_intervals', $list ); -
/** * Filter the intro PDF URL. */ apply_filters( 'efml_intro_pdf_url', $url ); -
/** * Prevent import of external URLs via Media Cloud Sync. */ apply_filters( 'efml_is_import_running_for_mcs', $prevent_import, $url ); -
/** * Filter to prevent locale file check. */ apply_filters( 'efml_locale_file_check', $false, $url ); -
/** * Filter the list before output. */ apply_filters( 'efml_log_table_filter', $list ); -
/** * Filter whether the given mime type could provide multiple files. */ apply_filters( 'efml_mime_type_for_multiple_files', $false, $mime_type, $url ); -
/** * Filter whether the actual user is allowed to access the media files of the * given blog. */ apply_filters( 'efml_multisite_blog_allowed', $allowed, $blog_id ); -
/** * Filter the links in row meta of our plugin in plugin list. */ apply_filters( 'efml_plugin_row_meta', $row_meta ); -
/** * Filter the list of possible plugin sources for services of this plugin. */ apply_filters( 'efml_plugin_sources', $list ); -
/** * Filter whether the given file should be exported. */ apply_filters( 'efml_prevent_export', $false, $external_file_obj ); -
/** * Filter whether the given file should be exported. */ apply_filters( 'efml_prevent_export_on_service', $false, $external_file_obj, $term_id ); -
/** * Prevent the import of this file. */ apply_filters( 'efml_prevent_file_import', $false, $file_data, $url ); -
/** * Prevent import of this single URL. */ apply_filters( 'efml_prevent_import', $false, $url, $fields ); -
/** * Filter whether the given URL should be synchronized. */ apply_filters( 'efml_prevent_sync', $false, $url ); -
/** * Filter the list of post meta keys of this plugin, which are protected * against manual changes. */ apply_filters( 'efml_protected_meta_keys', $meta_keys ); -
/** * Filter the list of available protocols. */ apply_filters( 'efml_protocols', $list ); -
/** * Run additional tasks before proxy tries to load a cached external file. */ do_action( 'efml_proxy_before', $external_file_obj ); -
/** * Filter the cache directory. */ apply_filters( 'efml_proxy_path', $path ); -
/** * Filter the slug for the proxy-URL. */ apply_filters( 'efml_proxy_slug', $slug ); -
/** * Run action after the queue is processed. */ do_action( 'efml_queue_after_process', $urls_to_import ); -
/** * Run action before the queue is processed. */ do_action( 'efml_queue_before_process', $urls_to_import ); -
/** * Filter the list before output. */ apply_filters( 'efml_queue_table_filter', $list ); -
/** * Filter the list of URLs from the queue before they are processed. */ apply_filters( 'efml_queue_urls', $urls_to_import ); -
/** * Run additional tasks to save an external file as local file. */ do_action( 'efml_real_import_local', $external_file_obj ); -
/** * Filter the list of possible result objects. */ apply_filters( 'efml_result_objects', $list ); -
/** * Filter whether to activate this schedule. */ apply_filters( 'efml_schedule_enabling', $false, $instance ); -
/** * Filter the interval for a single schedule. */ apply_filters( 'efml_schedule_interval', $interval, $instance ); -
/** * Filter the list of our own events, e.g., to check if all, which are enabled * in setting are active. */ apply_filters( 'efml_schedule_our_events', $our_events ); -
/** * Add custom schedule-objects to use. */ apply_filters( 'efml_schedules', $list_of_schedules ); -
/** * Filter whether the given DropBox entry should be hidden. */ apply_filters( 'efml_service_dropbox_hide_file', $false, $dropbox_entry['path_lower'], $directory, 'folder' === $dropbox_entry['.tag'] ); -
/** * Filter whether given FTP file should be hidden. */ apply_filters( 'efml_service_ftp_hide_file', $false, $path, $directory, $is_dir ); -
/** * Filter the list of possible user settings for the FTP. */ apply_filters( 'efml_service_ftp_user_settings', $list ); -
/** * Run additional tasks after the main settings of a service have been added, * e.g. to add further settings. */ do_action( 'efml_service_main_settings', $section, $instance ); -
/** * Filter the list of possible modes of this service. */ apply_filters( 'efml_service_modes', $modes, $instance ); -
/** * Filter whether the given file of the other website should be hidden. */ apply_filters( 'efml_service_multisite_hide_file', $false, $post->post_mime_type, $post ); -
/** * Filter the list of available service plugins. */ apply_filters( 'efml_service_plugins', $list ); -
/** * Filter the default REST API endpoint for service REST API. */ apply_filters( 'efml_service_rest_default_endpoint', $default_endpoint ); -
/** * Filter the REST API file results. */ apply_filters( 'efml_service_rest_file_data', $results, $file_path, $file ); -
/** * Filter whether given local file should be hidden. */ apply_filters( 'efml_service_rest_hide_file', $false, $mime_type, $directory ); -
/** * Filter the list of possible user settings for YouTube. */ apply_filters( 'efml_service_youtube_user_settings', $list ); -
/** * Filter the list of third party support. */ apply_filters( 'efml_services_support', $list ); -
/** * Set template directory. */ apply_filters( 'efml_set_template_directory', $directory ); -
/** * Filter the description to setting to disable the attachment pages. */ apply_filters( 'efml_setting_description_attachment_pages', $description ); -
/** * Run action just before the file is added to the list. */ do_action( 'efml_sftp_directory_import_file_before_to_list', $file_url, $file_list ); -
/** * Run action just before the file check via SFTP-protocol. */ do_action( 'efml_sftp_directory_import_file_check', $file_url ); -
/** * Run action if we have files to check. */ do_action( 'efml_sftp_directory_import_files', $this->get_url(), $file_list ); -
/** * Run action on beginning of presumed directory import. */ do_action( 'efml_sftp_directory_import_start', $this->get_url() ); -
/** * Add additional infos about this file. */ do_action( 'efml_show_file_info', $external_file_obj ); -
/** * Filter the endpoints for Site Health this plugin is using. */ apply_filters( 'efml_site_health_endpoints', $list ); -
/** * Filter the resulting list of file sizes per service. */ apply_filters( 'efml_sizes_per_service', $sizes ); -
/** * Filter the possible mime types this plugin could support. This is the list * used for the setting in the backend. */ apply_filters( 'efml_supported_mime_types', $mime_types ); -
/** * Run tasks after we switch a file to local. */ do_action( 'efml_switch_to_external_after', $this->get_id(), $instance ); -
/** * Run tasks after we switch a file to local. */ do_action( 'efml_switch_to_local_after', $this->get_id(), $instance ); -
/** * Run tasks before we switch a file to local. */ do_action( 'efml_switch_to_local_before', $instance ); -
/** * Filter the dialog to configure an export. */ apply_filters( 'efml_sync_config_dialog', $dialog, $term_id ); -
/** * Filter the form to configure this external directory. */ apply_filters( 'efml_sync_configure_form', $form, $term_id ); -
/** * Filter the list of default extensions. */ apply_filters( 'efml_sync_dialog_extensions_default', $list ); -
/** * Run additional tasks during saving a new sync configuration. */ do_action( 'efml_sync_save_config', $fields, $term_id ); -
/** * Run additional tasks to validate given values during saving a new sync * configuration. */ apply_filters( 'efml_sync_validate_config', $false, $fields, $dialog ); -
/** * Filter the dialog for this file info. */ apply_filters( 'efml_table_column_file_source_dialog', $dialog, $external_file_obj ); -
/** * Run additional tasks for show more infos here. */ do_action( 'efml_table_column_source', $attachment_id ); -
/** * Filter the title for show in source column in the media table for external * files. */ apply_filters( 'efml_table_column_source_title', $title, $attachment_id ); -
/** * Filter the protocols. */ apply_filters( 'efml_tcp_protocols', $tcp_protocols, $instance ); -
/** * Filter the list of third party support. */ apply_filters( 'efml_third_party_support', $list ); -
/** * Filter the list of main tools for external files. */ apply_filters( 'efml_tools', $list ); -
/** * Filter the time in seconds, in which a downloaded list is not checked again * for changes. */ apply_filters( 'efml_url_list_check_interval', 60, $url ); -
/** * Run action just before the file is added to the list of files to import. */ do_action( 'efml_url_list_import_file_before_to_list', $file_url, array_keys( $entries ) ); -
/** * Run action before a single file of a list is checked. */ do_action( 'efml_url_list_import_file_check', $file_url ); -
/** * Run action before the files of a list are checked. */ do_action( 'efml_url_list_import_files', $url, array_keys( $entries ) ); -
/** * Filter the maximum count of records to read from a list. */ apply_filters( 'efml_url_list_max_records', 100000, $attachment_id ); -
/** * Filter the maximum size of a list to download in bytes. */ apply_filters( 'efml_url_list_max_size', wp_max_upload_size(), $url ); -
/** * Filter the possible names of fields for each role during the automatic * detection of the mapping for lists. */ apply_filters( 'efml_url_list_role_names', $names, $instance ); -
/** * Filter the User Agent string wie add to each User Agent header (if enabled * in settings). */ apply_filters( 'efml_user_agent', $string_to_add ); -
/** * Run additional tasks to add custom metadata on external hostet files. */ do_action( 'efml_video_meta_data', $external_file_obj ); -
/** * Filter the YouTube API URL to use. */ apply_filters( 'efml_youtube_api_url', $api_url ); -
/** * Filter the YouTube channel URL to use. */ apply_filters( 'efml_youtube_channel_url', $channel_url ); -
/** * Filter the maximum size in bytes for a single file extracted from an archive * (ZIP, .tar.gz or .gz). */ apply_filters( 'efml_zip_max_file_size', $max_size, $instance ); -
/** * Filter the maximum size for a single ZIP to extract. */ apply_filters( 'efml_zip_max_size_limit', $limit, $settings ); -
/** * Filter the list of available zip object names. */ apply_filters( 'efml_zip_objects', $zip_objects ); -
/** * Filter the real redirect URI to connect the Google OAuth Client. */ apply_filters( 'efmlgd_dropbox_real_redirect_uri', $real_redirect_uri ); -
/** * Mark this hook as deprecated as we do not use it anymore since 5.0.0. */ apply_filters_deprecated( 'eml_import_add_to_queue', array( false, array() ), '5.0.0' ); -
/** * Filter the transients from the database. */ apply_filters( "etfw_{$this->get_slug()}_transients", $transients_from_db ); -
apply_filters_deprecated( 'eml_external_file_infos', array( $results, $file_path, $response_headers ), '5.0.0', 'efml_external_file_infos' ); -
apply_filters_deprecated( 'eml_external_files_infos', array( $files, $instance ), '5.0.0', 'efml_external_files_infos' ); -
apply_filters_deprecated( 'eml_save_temp_file', array( true, $url ), '5.0.0', 'efml_save_temp_file' ); -
apply_filters_deprecated( 'eml_add_dialog', array( $dialog, $settings ), '5.0.0', 'efml_add_dialog' ); -
do_action_deprecated( 'eml_after_file_save', array( $external_file_obj, $file_data, $file_url ), '5.0.0', 'efml_after_file_save' ); -
apply_filters_deprecated( 'eml_check_url', array( true, $this->get_url() ), '5.0.0', 'efml_check_url' ); -
apply_filters_deprecated( 'eml_http_save_local', array( $result, $url ), '5.0.0', 'efml_http_save_local' ); -
apply_filters_deprecated( 'eml_http_ssl', array( true, $url ), '5.0.0', 'efml_http_ssl' ); -
apply_filters_deprecated( 'eml_import_info_timeout', array( 200 ), '5.0.0', 'efml_import_info_timeout' ); -
apply_filters_deprecated( 'eml_import_url', array( $url ), '5.0.0', 'efml_import_url' ); -
apply_filters_deprecated( 'eml_import_urls_errors', array( $errors ), '5.0.0', 'efml_import_urls_errors' ); -
apply_filters_deprecated( 'eml_attachment_link', array( false, $url, $attachment_id ), '5.0.0', 'efml_attachment_link' ); -
do_action_deprecated( 'eml_audio_meta_data', array( $external_file_obj ), '5.0.0', 'efml_audio_meta_data' ); -
do_action_deprecated( 'eml_before_file_list', array( $url, $files ), '5.0.0', 'efml_before_file_list' ); -
do_action_deprecated( 'eml_before_file_save', array( $file_data ), '5.0.0', 'efml_before_file_save' ); -
apply_filters_deprecated( 'eml_check_url_availability', array( true, $url ), '5.0.0', 'efml_check_url_availability' ); -
apply_filters_deprecated( 'eml_current_language', array( $wp_language ), '5.0.0', 'efml_current_language' ); -
apply_filters_deprecated( 'eml_dialog_settings', array( $settings ), '5.0.0', 'efml_dialog_settings' ); -
apply_filters_deprecated( 'eml_disable_cron_check', array( false ), '5.0.0', 'efml_disable_cron_check' ); -
apply_filters_deprecated( 'eml_duplicate_check', array( false, $url ), '5.0.0', 'efml_duplicate_check' ); -
apply_filters_deprecated( 'eml_file_availability', array( $this->availability, $instance ), '5.0.0', 'efml_file_availability' ); -
apply_filters_deprecated( 'eml_file_check_existence', array( true, $file_path ), '5.0.0', 'efml_file_check_existence' ); -
do_action_deprecated( 'eml_file_delete', array( $external_file_obj ), '5.0.0', 'efml_file_delete' ); -
do_action_deprecated( 'eml_file_directory_import_file_before_to_list', array( $file_path, $file_list ), '5.0.0', 'efml_file_directory_import_file_before_to_list' ); -
do_action_deprecated( 'eml_file_directory_import_file_check', array( $file_path ), '5.0.0', 'efml_file_directory_import_file_check' ); -
do_action_deprecated( 'eml_file_directory_import_start', array( $url ), '5.0.0', 'efml_file_directory_import_start' ); -
apply_filters_deprecated( 'eml_file_import_attachment', array( $post_array, $file_url, $file_data ), '5.0.0', 'efml_file_import_attachment' ); -
do_action_deprecated( 'eml_file_import_before_save', array( $file_url ), '5.0.0', 'eml_file_import_before_save' ); -
apply_filters_deprecated( 'eml_file_import_title', array( $title, $file_url, $file_data ), '5.0.0', 'efml_file_import_title' ); -
apply_filters_deprecated( 'eml_file_import_user', array( $user_id, $url ), '5.0.0', 'efml_file_import_user' ); -
apply_filters_deprecated( 'eml_file_prevent_proxied_url', array( true, $instance ), '5.0.0', 'efml_file_prevent_proxied_url' ); -
apply_filters_deprecated( 'eml_file_type_compatibility_result', array( $result, $external_file_obj, $mime_type ), '5.0.0', 'efml_file_type_compatibility_result' ); -
apply_filters_deprecated( 'eml_file_type_supported_mime_types', array( $mime_type, $external_file_obj ), '5.0.0', 'efml_file_type_supported_mime_types' ); -
apply_filters_deprecated( 'eml_file_types', array( $list ), '5.0.0', 'efml_file_types' ); -
apply_filters_deprecated( 'eml_files_check_content_type', array( true, $url ), '5.0.0', 'efml_files_check_content_type' ); -
apply_filters_deprecated( 'eml_filter_url_response', array( array(), $this->get_url(), $instance ), '5.0.0', 'efml_filter_url_response' ); -
do_action_deprecated( 'eml_ftp_directory_import_file_before_to_list', array( $file_url, $file_list ), '5.0.0', 'efml_ftp_directory_import_file_before_to_list' ); -
do_action_deprecated( 'eml_ftp_directory_import_file_check', array( $file_url ), '5.0.0', 'efml_ftp_directory_import_file_check' ); -
do_action_deprecated( 'eml_ftp_directory_import_files', array( $url, $file_list ), '5.0.0', 'efml_ftp_directory_import_files' ); -
do_action_deprecated( 'eml_ftp_directory_import_start', array( $url ), '5.0.0', 'efml_ftp_directory_import_start' ); -
apply_filters_deprecated( 'eml_get_mime_types', array( $mime_types ), '5.0.0', 'efml_get_mime_types' ); -
apply_filters_deprecated( 'eml_help_tabs', array( $list ), '5.0.0', 'efml_help_tabs' ); -
apply_filters_deprecated( 'eml_http_check_content_type', array( true, $url ), '5.0.0', 'efml_http_check_content_type' ); -
apply_filters_deprecated( 'eml_http_check_content_type_existence', array( true, $url ), '5.0.0', 'efml_http_check_content_type_existence' ); -
do_action_deprecated( 'eml_http_directory_import_file_before_to_list', array( $file_url, $matches[1] ), '5.0.0', 'efml_http_directory_import_file_before_to_list' ); -
do_action_deprecated( 'eml_http_directory_import_file_check', array( $file_url ), '5.0.0', 'efml_http_directory_import_file_check' ); -
do_action_deprecated( 'eml_http_directory_import_files', array( $this->get_url(), $matches[1] ), '5.0.0', 'efml_http_directory_import_files' ); -
do_action_deprecated( 'eml_http_directory_import_start', array( $this->get_url() ), '5.0.0', 'efml_http_directory_import_start' ); -
apply_filters_deprecated( 'eml_http_directory_regex', array( array(), $content, $url ), '5.0.0', 'efml_http_directory_regex' ); -
apply_filters_deprecated( 'eml_http_header_args', array( $args, $instance ), '5.0.0', 'efml_http_header_args' ); -
apply_filters_deprecated( 'eml_http_states', array( $list, $url ), '5.0.0', 'efml_http_states' ); -
do_action_deprecated( 'eml_image_meta_data', array( $external_file_obj, $image_meta ), '5.0.0', 'efml_image_meta_data' ); -
do_action_deprecated( 'eml_import_ajax_end', array( $url_array ), '5.0.0', 'efml_import_ajax_end' ); -
do_action_deprecated( 'eml_import_ajax_start', array( $url_array ), '5.0.0', 'efml_import_ajax_start' ); -
apply_filters_deprecated( 'eml_import_options', array( array(), $url ), '5.0.0', 'efml_import_options' ); -
apply_filters_deprecated( 'eml_import_urls', array( $url_array ), '5.0.0', 'efml_import_urls' ); -
apply_filters_deprecated( 'eml_locale_file_check', array( false, $url ), '5.0.0', 'efml_locale_file_check' ); -
apply_filters_deprecated( 'eml_log_table_filter', array( $list ), '5.0.0', 'efml_log_table_filter' ); -
apply_filters_deprecated( 'eml_mime_type_for_multiple_files', array( $false, $mime_type, $url ), '5.0.0', 'efml_mime_type_for_multiple_files' ); -
apply_filters_deprecated( 'eml_plugin_row_meta', array( $row_meta ), '5.0.0', 'efml_plugin_row_meta' ); -
apply_filters_deprecated( 'eml_protocols', array( $list ), '5.0.0', 'efml_protocols' ); -
apply_filters_deprecated( 'eml_proxy_path', array( $path ), '5.0.0', 'efml_proxy_path' ); -
apply_filters_deprecated( 'eml_proxy_slug', array( $slug ), '5.0.0', 'efml_proxy_slug' ); -
do_action_deprecated( 'eml_queue_after_process', array( $urls_to_import ), '5.0.0', 'efml_queue_after_process' ); -
do_action_deprecated( 'eml_queue_before_process', array( $urls_to_import ), '5.0.0', 'efml_queue_before_process' ); -
apply_filters_deprecated( 'eml_queue_table_filter', array( $list ), '5.0.0', 'efml_queue_table_filter' ); -
apply_filters_deprecated( 'eml_queue_urls', array( $urls_to_import ), '5.0.0', 'efml_queue_urls' ); -
apply_filters_deprecated( 'eml_schedule_enabling', array( false, $instance ), '5.0.0', 'efml_schedule_enabling' ); -
apply_filters_deprecated( 'eml_schedule_interval', array( $this->interval, $instance ), '5.0.0', 'efml_schedule_interval' ); -
apply_filters_deprecated( 'eml_schedule_our_events', array( $our_events ), '5.0.0', 'efml_schedule_our_events' ); -
apply_filters_deprecated( 'eml_schedules', array( $list_of_schedules ), '5.0.0', 'efml_schedules' ); -
apply_filters_deprecated( 'eml_services_support', array( $list ), '5.0.0', 'efml_services_support' ); -
apply_filters_deprecated( 'eml_set_template_directory', array( $directory ), '5.0.0', 'efml_set_template_directory' ); -
apply_filters_deprecated( 'eml_setting_description_attachment_pages', array( $description ), '5.0.0', 'efml_setting_description_attachment_pages' ); -
do_action_deprecated( 'eml_sftp_directory_import_file_before_to_list', array( $file_url, $file_list ), '5.0.0', 'efml_sftp_directory_import_file_before_to_list' ); -
do_action_deprecated( 'eml_sftp_directory_import_file_check', array( $file_url ), '5.0.0', 'efml_sftp_directory_import_file_check' ); -
do_action_deprecated( 'eml_sftp_directory_import_files', array( $this->get_url(), $file_list ), '5.0.0', 'efml_sftp_directory_import_files' ); -
do_action_deprecated( 'eml_sftp_directory_import_start', array( $this->get_url() ), '5.0.0', 'efml_sftp_directory_import_start' ); -
do_action_deprecated( 'eml_show_file_info', array( $external_file_obj ), '5.0.0', 'efml_show_file_info' ); -
apply_filters_deprecated( 'eml_supported_mime_types', array( $mime_types ), '5.0.0', 'efml_supported_mime_types' ); -
do_action_deprecated( 'eml_table_column_content', array( $attachment_id ), '5.0.0' ); -
do_action_deprecated( 'eml_table_column_source', array( $attachment_id ), '5.0.0', 'efml_table_column_source' ); -
apply_filters_deprecated( 'eml_tcp_protocols', array( $tcp_protocols, $instance ), '5.0.0', 'efml_tcp_protocols' ); -
apply_filters_deprecated( 'eml_third_party_support', array( $list ), '5.0.0', 'efml_third_party_support' ); -
do_action_deprecated( 'eml_video_meta_data', array( $external_file_obj ), '5.0.0', 'efml_video_meta_data' ); -
apply_filters_deprecated( 'eml_youtube_api_url', array( $api_url ), '5.0.0', 'efml_youtube_api_url' ); -
apply_filters_deprecated( 'eml_youtube_channel_url', array( $channel_url ), '5.0.0', 'efml_youtube_channel_url' );
Generated from External files in Media Library's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: