You appear to be a bot. Output may be restricted
Description
Imports the options if found.
Usage
WPSEO_Import_Settings::import_options( $options );
Parameters
- $options
- ( array ) required – The options parsed from the provided settings.
Returns
void
Source
File name: wordpress-seo/admin/import/class-import-settings.php
Lines:
1 to 16 of 16
protected function import_options( $options ) { if ( isset( $options['wpseo']['version'] ) && $options['wpseo']['version'] !== '' ) { $this->old_wpseo_version = $options['wpseo']['version']; } foreach ( $options as $name => $option_group ) { $this->parse_option_group( $name, $option_group, $options ); } $this->status->set_msg( __( 'Settings successfully imported.', 'wordpress-seo' ) ); $this->status->set_status( true ); // Reset the cached option values. WPSEO_Options::clear_cache(); }