/** * Import All In One SEO settings */ public function __construct() { parent::__construct(); $this->aioseo_options = get_option('aioseop_options'); $this->import_metas(); $this->import_ga(); }
/** * 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('YMBESEO_titles', $this->options); $this->set_msg(__('WooThemes SEO framework settings & data successfully imported.', 'ymbeseo')); }