__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\Import\Plugins
*/
/**
* Class WPSEO_Import_Plugins_Detector.
*
* Class with functionality to detect whether we should import from another SEO plugin.
*/
class WPSEO_Import_Plugins_Detector {
/**
* Plugins we need to import from.
*
* @var array
*/
public $needs_import = [];
/**
* Detects whether we need to import anything.
*
* @return void
*/
public function detect() {
foreach ( WPSEO_Plugin_Importers::get() as $importer_class ) {
$importer = new $importer_class();
$detect = new WPSEO_Import_Plugin( $importer, 'detect' );
if ( $detect->status->status ) {
$this->needs_import[ $importer_class ] = $importer->get_plugin_name();
}
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| plugins | Folder | 0775 |
|
|
| class-import-detector.php | File | 749 B | 0775 |
|
| class-import-plugin.php | File | 1.43 KB | 0775 |
|
| class-import-settings.php | File | 2.95 KB | 0775 |
|
| class-import-status.php | File | 2.7 KB | 0775 |
|