PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 19.0
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v19.0
28.5 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 All 129 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 19.0, at src/actions/importing/importing-action-interface.php

34 lines 961 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\Indexation_Action_Interface;
6 use Yoast\WP\SEO\Actions\Indexing\Limited_Indexing_Action_Interface;
7
8 interface Importing_Action_Interface extends Indexation_Action_Interface, Limited_Indexing_Action_Interface {
9
10 /**
11 * Returns the name of the plugin we import from.
12 *
13 * @return string The plugin name.
14 */
15 public function get_plugin();
16
17 /**
18 * Returns the type of data we import.
19 *
20 * @return string The type of data.
21 */
22 public function get_type();
23
24 /**
25 * Whether or not this action is capable of importing given a specific plugin and type.
26 *
27 * @param string|null $plugin The name of the plugin being imported.
28 * @param string|null $type The component of the plugin being imported.
29 *
30 * @return bool True if the action can import the given plugin's data of the given type.
31 */
32 public function is_compatible_with( $plugin = null, $type = null );
33 }
34