Yoast\WP\SEO\Actions\Importing

Importing_Action_Interface::is_compatible_with()publicYoast 1.0

Whether or not this action is capable of importing given a specific plugin and type.

{} Это метод класса: Importing_Action_Interface{}

Хуков нет.

Возвращает

true|false. True if the action can import the given plugin's data of the given type.

Использование

$Importing_Action_Interface = new Importing_Action_Interface();
$Importing_Action_Interface->is_compatible_with( $plugin, $type );
$plugin(строка|null)
The name of the plugin being imported.
По умолчанию: null
$type(строка|null)
The component of the plugin being imported.
По умолчанию: null

Код Importing_Action_Interface::is_compatible_with() Yoast 19.10

public function is_compatible_with( $plugin = null, $type = null );