/home/techb158/l2hypotheques.com/wp-content/plugins/polylang/src/install
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/polylang/src/install/activate.php (1956B)
can_activate();
}
} else {
$options['version'] = static::get_plugin_version();
}
$options->save(); // Force save here to prevent any conflicts with another instance of `Options`.
add_option(
'pll_language_from_content_available',
0 === $options['force_lang'] ? 'yes' : 'no'
);
// Avoid 1 query on every pages if no wpml strings is registered.
add_option( 'polylang_wpml_strings', array() );
add_option( 'pll_language_taxonomies', array() );
/*
* Don't use flush_rewrite_rules at network activation. See #32471.
* Thanks to RavanH for the trick. See https://polylang.wordpress.com/2015/06/10/polylang-1-7-6-and-multisite/.
* Rewrite rules are created at next page load.
*/
delete_option( 'rewrite_rules' );
}
}