Demo Importer Plus 2.0.12 has 34 actions and 47 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 Demo Importer Plus fires an action
add_action( 'import_end', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Demo Importer Plus is about to use
add_filter( 'demo_importer_plus_plugin_dependencies', 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
-
/** * Filters known plugin dependency pairs used to determine activation order. * Each key is a dependent slug; value is a slug or array of slugs that must be * active first. */ apply_filters( 'demo_importer_plus_plugin_dependencies', array( 'wte-elementor-widgets' => array( 'wp-travel-engine', 'elementor' ), ) ); -
import_end
action/** * Complete the import. */ do_action( 'import_end' ); -
import_start
action/** * Begin the import. */ do_action( 'import_start' ); -
wp_import_insert_comment
action/** * Comment has been imported. */ do_action( 'wp_import_insert_comment', $comment_id, $comment, $post_id, $post ); -
/** * Pre-process comment data */ apply_filters( 'wxr_importer.pre_process.comment', $comment, $post_id ); -
/** * Pre-process post data. */ apply_filters( 'wxr_importer.pre_process.post', $data, $meta, $comments, $terms ); -
/** * Pre-process post meta data. */ apply_filters( 'wxr_importer.pre_process.post_meta', $meta_item, $post_id ); -
/** * Pre-process term data. */ apply_filters( 'wxr_importer.pre_process.term', $data, $meta ); -
/** * Pre-process post meta data. */ apply_filters( 'wxr_importer.pre_process.term_meta', $meta_item, $term_id ); -
/** * Pre-process user data. */ apply_filters( 'wxr_importer.pre_process.user', $data, $meta ); -
/** * Comment processing already imported. */ do_action( 'wxr_importer.process_already_imported.comment', $comment ); -
/** * Post processing already imported. */ do_action( 'wxr_importer.process_already_imported.post', $data ); -
/** * Term processing already imported. */ do_action( 'wxr_importer.process_already_imported.term', $data ); -
/** * Post processing failed. */ do_action( 'wxr_importer.process_failed.post', $post_id, $data, $meta, $comments, $terms ); -
/** * Term processing failed. */ do_action( 'wxr_importer.process_failed.term', $result, $data, $meta ); -
/** * User processing failed. */ do_action( 'wxr_importer.process_failed.user', $user_id, $userdata ); -
/** * Post processing skipped. */ do_action( 'wxr_importer.process_skipped.post', $data, $meta ); -
/** * Post processing completed. */ do_action( 'wxr_importer.processed.comment', $comment_id, $comment, $meta, $post_id ); -
wxr_importer.processed.post
action/** * Post processing completed. */ do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms ); -
wxr_importer.processed.term
action/** * Term processing completed. */ do_action( 'wxr_importer.processed.term', $term_id, $data ); -
wxr_importer.processed.user
action/** * User processing completed. */ do_action( 'wxr_importer.processed.user', $user_id, $userdata ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
customize_save_after
actiondo_action( 'customize_save_after', $wp_customize ); -
apply_filters( 'demo_importer_plus_activate_license_text', __( 'Activate License', 'demo-importer-plus' ) ); -
do_action( 'demo_importer_plus_before_delete_imported_terms', $term_id, $term ); -
apply_filters( 'demo_importer_plus_get_pro_text', __( 'Get Pro', 'demo-importer-plus' ) ); -
apply_filters( 'demo_importer_plus_get_pro_url', '#' ); -
demo_importer_plus_is_pro
filterapply_filters( 'demo_importer_plus_is_pro', false ); -
apply_filters( 'demo_importer_plus_license_page', admin_url( '/' ) ); -
apply_filters( 'demo_importer_plus_pro_active', false ); -
apply_filters( 'demo_importer_plus_pro_plugin_exist', array( 'beaver-builder-lite-version/fl-builder.php' => array( 'slug' => 'bb-plugin', 'init' => 'bb-plugin/fl-builder.php', 'name' => 'Beaver Builder Plugin', ), 'ultimate-addons-for-beaver-builder-lite/bb-ultimate-addon.php' => array( 'slug' => 'bb-ultimate-addon', 'init' => 'bb-ultimate-addon/bb-ultimate-addon.php', 'name' => 'Ultimate Addon for Beaver Builder', ), 'wpforms-lite/wpforms.php' =... ); -
do_action( 'demo_importer_plus_process_single', $new_page_id ); -
do_action( 'demo_importer_plus_sites_before_delete_imported_posts', $post_id, $post_type ); -
apply_filters( 'demo_importer_plus_skip_size_validation', $is_compressed ); -
apply_filters( 'demo_importer_plus_xml_import_options', array( 'update_attachment_guids' => true, 'fetch_attachments' => true, 'default_author' => get_current_user_id(), ) ); -
apply_filters( 'demo-importer-plus:importable-site-options', $default_options ); -
import_attachment_size_limit
filterapply_filters( 'import_attachment_size_limit', 0 ); -
import_post_meta
actiondo_action( 'import_post_meta', $post_id, $key, $value ); -
import_post_meta_key
filterapply_filters( 'import_post_meta_key', $meta_item['key'], $post_id, $post ); -
import_term_meta
actiondo_action( 'import_term_meta', $term_id, $key, $value ); -
import_term_meta_key
filterapply_filters( 'import_term_meta_key', $meta_item['key'], $term_id ); -
wie_after_import
actiondo_action( 'wie_after_import' ); -
wie_after_widget_import
actiondo_action( 'wie_after_widget_import', $after_widget_import ); -
wie_available_widgets
filterapply_filters( 'wie_available_widgets', $available_widgets ); -
wie_before_import
actiondo_action( 'wie_before_import' ); -
wie_import_data
filterapply_filters( 'wie_import_data', $data ); -
wie_import_results
filterapply_filters( 'wie_import_results', $results ); -
wie_widget_settings
filterapply_filters( 'wie_widget_settings', $widget ); -
wie_widget_settings_array
filterapply_filters( 'wie_widget_settings_array', $widget ); -
wp_import_insert_post
actiondo_action( 'wp_import_insert_post', $post_id, $original_id, $postdata, $data ); -
wp_import_insert_term
actiondo_action( 'wp_import_insert_term', $term_id, $data ); -
wp_import_insert_term_failed
actiondo_action( 'wp_import_insert_term_failed', $result, $data ); -
wp_import_post_comments
filterapply_filters( 'wp_import_post_comments', $comments, $post_id, $post ); -
apply_filters( 'wp_import_post_data_processed', $postdata, $data ); -
wp_import_post_terms
filterapply_filters( 'wp_import_post_terms', $terms, $post_id, $data ); -
wp_import_set_post_terms
actiondo_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $data ); -
apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
demo_importer_plus_api_args
filterapply_filters( 'demo_importer_plus_api_args', array( 'timeout' => 30, ) ); -
demo_importer_plus_api_id
filterapply_filters( 'demo_importer_plus_api_id', array() ); -
demo_importer_plus_api_url
filterapply_filters( 'demo_importer_plus_api_url', 'https://rishidemos.com/' ); -
do_action( 'demo_importer_plus_image_import_complete' ); -
apply_filters( 'demo_importer_plus_image_importer_skip_image', false, $attachment ); -
do_action( 'demo_importer_plus_import_complete', $demo_data ); -
apply_filters( 'demo_importer_plus_import_sites_query_args', array( 'per_page' => 15, 'page' => $page, ) ); -
apply_filters( 'demo_importer_plus_localize_vars', array( 'debug' => defined( 'WP_DEBUG' ) ? true : false, 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ), 'siteURL' => site_url(), 'isPro' => apply_filters( 'demo_importer_plus_is_pro', false ), 'getProText' => apply_filters( 'demo_importer_plus_get_pro_text', __( 'Get Pro', 'demo-importer-plus' ) ), 'activateLicenseTxt' => apply_filters( 'demo_importer_plus_activate_license_text', __( 'Ac... ); -
apply_filters( 'demo_importer_plus_max_file_size', 10 * 1024 * 1024 ); -
apply_filters( 'demo_importer_plus_pre_process_post_disable_content', ( $is_attachment || $is_elementor_page || $is_beaver_builder_page || $is_brizy_page ) ); -
do_action( 'demo_importer_plus_site_import_batch_complete' ); -
apply_filters( 'demo_importer_plus_site_options', $options ); -
apply_filters( 'demo_importer_plus_sites_api_args', array( 'timeout' => 15, ) ); -
apply_filters( 'demo_importer_plus_sites_api_params', array( 'purchase_key' => '', 'site_url' => '', ) ); -
do_action( 'demo_importer_plus_sites_before_delete_imported_contact_form7', $post_id ); -
do_action( 'demo_importer_plus_sites_image_import_complete' ); -
do_action( 'demo_importer_plus_sites_import_complete', $demo_data ); -
apply_filters( 'demo_importer_plus_sync_check_time', WEEK_IN_SECONDS ); -
https_local_ssl_verify
filterapply_filters( 'https_local_ssl_verify', false ); -
do_action( 'wxr_importer_add_importer_hooks', $this );
Generated from Demo Importer Plus'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: