# wordpress-seo/trunk/src/actions/importing/importing-action-interface.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version trunk. 33 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/actions/importing/importing-action-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/actions/importing/importing-action-interface.php
- Modified: 2023-04-26T12:25:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/actions/importing/importing-action-interface.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Actions\Importing;

use Yoast\WP\SEO\Actions\Indexing\Limited_Indexing_Action_Interface;

interface Importing_Action_Interface extends Importing_Indexation_Action_Interface, Limited_Indexing_Action_Interface {

	/**
	 * Returns the name of the plugin we import from.
	 *
	 * @return string The plugin name.
	 */
	public function get_plugin();

	/**
	 * Returns the type of data we import.
	 *
	 * @return string The type of data.
	 */
	public function get_type();

	/**
	 * Whether or not this action is capable of importing given a specific plugin and type.
	 *
	 * @param string|null $plugin The name of the plugin being imported.
	 * @param string|null $type   The component of the plugin being imported.
	 *
	 * @return bool True if the action can import the given plugin's data of the given type.
	 */
	public function is_compatible_with( $plugin = null, $type = null );
}

```
