Submit
Path:
~
/
home
/
getwphos
/
www
/
BenjaminMarc2023
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
app
/
Common
/
ImportExport
/
File Content:
Importer.php
<?php namespace AIOSEO\Plugin\Common\ImportExport; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Imports the settings and meta data from other plugins. * * @since 4.0.0 */ abstract class Importer { /** * Imports the settings. * * @since 4.2.7 * * @return void */ protected function importSettings() {} /** * Imports the post meta. * * @since 4.2.7 * * @return void */ protected function importPostMeta() {} /** * Imports the term meta. * * @since 4.2.7 * * @return void */ protected function importTermMeta() {} /** * PostMeta class instance. * * @since 4.2.7 * * @var Object */ protected $postMeta = null; /** * TermMeta class instance. * * @since 4.2.7 * * @var Object */ protected $termMeta = null; /** * Helpers class instance. * * @since 4.2.7 * * @var Object */ public $helpers = null; /** * Starts the import. * * @since 4.0.0 * * @param array $options What the user wants to import. * @return void */ public function doImport( $options = [] ) { if ( empty( $options ) ) { $this->importSettings(); $this->importPostMeta(); $this->importTermMeta(); return; } foreach ( $options as $optionName ) { switch ( $optionName ) { case 'settings': $this->importSettings(); break; case 'postMeta': $this->postMeta->scheduleImport(); break; default: break; } } } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
RankMath
---
0755
SeoPress
---
0755
YoastSeo
---
0755
Helpers.php
2328 bytes
0644
ImportExport.php
10898 bytes
0644
Importer.php
1469 bytes
0644
SearchAppearance.php
861 bytes
0644
N4ST4R_ID | Naxtarrr