[ Root System Explorer ]
Location:
Root
/
home
/
svaxkys
/
www
/
AcmaCulot
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
app
/
Common
/
ImportExport
/
YoastSeo
+ Folder
+ File
Upload
Editing: GeneralSettings.php
<?php namespace AIOSEO\Plugin\Common\ImportExport\YoastSeo; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } // phpcs:disable WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound /** * Migrates the General Settings. * * @since 4.0.0 */ class GeneralSettings { /** * Class constructor. * * @since 4.0.0 */ public function __construct() { $this->options = get_option( 'wpseo' ); if ( empty( $this->options ) ) { return; } $settings = [ 'googleverify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'google' ] ], 'msverify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'bing' ] ], 'yandexverify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'yandex' ] ], 'baiduverify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'baidu' ] ], 'enable_xml_sitemap' => [ 'type' => 'boolean', 'newOption' => [ 'sitemap', 'general', 'enable' ] ], ]; aioseo()->importExport->yoastSeo->helpers->mapOldToNew( $settings, $this->options ); } }
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 GeneralSettings.php
FILE
Ren
[EDIT]
DEL
📄 Helpers.php
FILE
Ren
[EDIT]
DEL
📄 PostMeta.php
FILE
Ren
[EDIT]
DEL
📄 SearchAppearance.php
FILE
Ren
[EDIT]
DEL
📄 SocialMeta.php
FILE
Ren
[EDIT]
DEL
📄 UserMeta.php
FILE
Ren
[EDIT]
DEL
📄 YoastSeo.php
FILE
Ren
[EDIT]
DEL