File manager - Edit - /home/aussies6/public_html/wp-content/plugins/woocommerce-multistore/single-site/includes/activation-hook.php
Back
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } class WOO_MSTORE_SINGLE_ACTIVATION_HOOK { /** * Default plugin options **/ public $default_options = array(); /** * Init **/ public function __construct() { $manager = new WOO_MSTORE_OPTIONS_MANAGER(); $this->default_options = $manager->get_defaults(); $this->run(); } /** * Init **/ public function run() { $options = get_option( 'woonet_options', array() ); foreach ( $this->default_options as $key => $value ) { if ( ! isset( $options[ $key ] ) ) { $options[ $key ] = $value; } } update_option( 'woonet_options', $options ); } } new WOO_MSTORE_SINGLE_ACTIVATION_HOOK();
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings