Advanced Import 2.0.0 has 11 actions and 26 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 Advanced Import fires an action
add_action( 'advanced_import_after_demo_import_screen', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Advanced Import is about to use
add_filter( 'advanced_import_replace_post_ids', 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
-
apply_filters( 'advanced_import_replace_post_ids', array( 'image_id', 'thumbnail_id', 'author_picture', ) ); -
do_action( 'advanced_import_after_demo_import_screen' ); -
apply_filters( 'advanced_import_attachment_size_limit', 0 ); -
do_action( 'advanced_import_before_demo_import_screen' ); -
advanced_import_post_data
filterapply_filters( 'advanced_import_post_data', $post_data ); -
apply_filters( 'advanced_import_replace_term_ids', array( 'cat_id', 'nav_menu', 'online-shop-feature-product-cat', 'online_shop_featured_cats', 'online_shop_wc_product_cat', 'online_shop_wc_product_tag', ) ); -
apply_filters( "advanced_import_{$template}_required_plugins", array() ); -
apply_filters( "advanced_import_{$this->theme_name}_theme_view_setup_step_content", $content ); -
do_action( 'advanced_import_after_complete_screen' ); -
do_action( 'advanced_import_after_content_screen' ); -
do_action( 'advanced_import_after_plugin_screen' ); -
do_action( 'advanced_import_after_theme_screen' ); -
apply_filters( 'advanced_import_allowed_demo_hosts', array() ); -
do_action( 'advanced_import_before_complete_screen' ); -
do_action( 'advanced_import_before_content_screen' ); -
do_action( 'advanced_import_before_plugin_screen' ); -
advanced_import_before_reset
actiondo_action( 'advanced_import_before_reset' ); -
do_action( 'advanced_import_before_theme_screen' ); -
apply_filters( 'advanced_import_complete_message', $message ); -
advanced_import_current_url
filterapply_filters( 'advanced_import_current_url', $current_url, $pagenow ); -
advanced_import_demo_lists
filterapply_filters( 'advanced_import_demo_lists', array() ); -
apply_filters( 'advanced_import_force_proceed', false ); -
advanced_import_is_pro
filterapply_filters( 'advanced_import_is_pro', $is_pro, $item ); -
apply_filters( 'advanced_import_is_pro_active', $this->is_pro_active ); -
apply_filters( 'advanced_import_is_template_available', $is_available, $item ); -
apply_filters( 'advanced_import_limit_at_time', $limit ); -
advanced_import_new_options
filterapply_filters( 'advanced_import_new_options', $new_options ); -
apply_filters( 'advanced_import_replace_content_string', $content ); -
apply_filters( 'advanced_import_sidebars_widgets', $sidebars_widgets, $this ); -
apply_filters( 'advanced_import_template_api_args', array() ); -
apply_filters( 'advanced_import_template_import_button', $button, $item ); -
apply_filters( 'advanced_import_template_lists', array() ); -
apply_filters( 'advanced_import_theme_api_args', $args ); -
apply_filters( "advanced_import_update_option_{$option}", $option, $value ); -
apply_filters( "advanced_import_update_value_{$option}", $value, $option ); -
apply_filters( 'advanced_import_welcome_message', $welcome_msg );
Generated from Advanced Import'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: