Overview
Ansar Import describes itself as: “Launch complete WordPress starter sites in one click and insert ready-made section & page templates right inside the Block Editor & Elementor.”
It is active on 10,000+ WordPress sites and rated 5.0 out of 5 by 1 users on WordPress.org. Developers can extend it through 14 actions and 25 filters, listed below.
How to install Ansar Import
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Ansar Import” and pick the one by themeansar.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install ansar-import --activateRequirements: WordPress 6.6+ · PHP 7.4+ · tested up to WordPress 7.1.4
Hooks & customisation
Ansar Import 2.1.3 fires 14 actions and 25 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter extracted required plugins for a demo.
apply_filters( 'ansar_demo_required_plugins', $required_plugins, $ansar_import_demo_data );
// Fires after term meta is imported.
do_action( 'ansar_import_term_meta', $term_id, $key, $value );
// Filters the meta key for an imported piece of term meta.
apply_filters( 'ansar_import_term_meta_key', $meta['key'], $term_id, $term );
// Filter ID of the existing post corresponding to post currently importing.
apply_filters( 'wp_import_existing_post', $post_exists, $post );
// Filters the metadata attached to an imported term.
apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term );
// Filter in includes/class-wp-import.php
apply_filters( 'ansar_import_allow_create_users', true );Need Ansar Import customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with themeansar. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.