PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.3
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.3
28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 19.1 All 128 releases
wordpress-seo / src / actions / importing / importing-action-interface.php

importing-action-interface.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 28.3, at src/actions/importing/importing-action-interface.php

33 lines 908 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yoast\WP\SEO\Actions\Importing;
4
5 use Yoast\WP\SEO\Actions\Indexing\Limited_Indexing_Action_Interface;
6
7 interface Importing_Action_Interface extends Importing_Indexation_Action_Interface, Limited_Indexing_Action_Interface {
8
9 /**
10 * Returns the name of the plugin we import from.
11 *
12 * @return string The plugin name.
13 */
14 public function get_plugin();
15
16 /**
17 * Returns the type of data we import.
18 *
19 * @return string The type of data.
20 */
21 public function get_type();
22
23 /**
24 * Whether or not this action is capable of importing given a specific plugin and type.
25 *
26 * @param string|null $plugin The name of the plugin being imported.
27 * @param string|null $type The component of the plugin being imported.
28 *
29 * @return bool True if the action can import the given plugin's data of the given type.
30 */
31 public function is_compatible_with( $plugin = null, $type = null );
32 }
33