/** * Import All In One SEO settings */ public function __construct() { parent::__construct(); $this->aioseo_options = get_option('aioseop_options'); $this->import_metas(); $this->import_ga(); }
/** * Import wpSEO settings */ public function __construct() { parent::__construct(); $this->import_post_metas(); $this->import_taxonomy_metas(); $this->set_msg(__(sprintf('wpSEO data successfully imported. Would you like to %sdisable the wpSEO plugin%s?', '<a href="' . esc_url(admin_url('admin.php?page=wpseo_tools&tool=import-export&deactivate_wpseo=1#top#import-seo')) . '">', '</a>'), 'wordpress-seo')); }
/** * Class constructor */ public function __construct() { parent::__construct(); $this->import_home(); $this->import_option('seo_woo_single_layout', 'post'); $this->import_option('seo_woo_page_layout', 'page'); $this->import_archive_option(); $this->import_custom_values('seo_woo_meta_home_desc', 'metadesc-home-wpseo'); $this->import_custom_values('seo_woo_meta_home_key', 'metakey-home-wpseo'); $this->import_metas(); update_option('wpseo_titles', $this->options); $this->set_msg(__('WooThemes SEO framework settings & data successfully imported.', 'wordpress-seo')); }