Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/ImportExport/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; } } } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка