_current_version = woodmart_get_theme_info( 'Version' ); $this->_theme_name = WOODMART_SLUG; $this->_api = WOODMART_Registry()->api; $this->_notices = WOODMART_Registry()->notices; $this->process_form(); add_filter( 'pre_set_site_transient_update_themes', array( $this, 'update_plugins_version' ), 30 ); add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'update_plugins_version' ), 30 ); add_filter( 'woodmart_setup_wizard', array( $this, 'update_plugins_version' ), 30 ); if ( ! woodmart_is_license_activated() ) { return; } add_filter( 'site_transient_update_themes', array( $this, 'update_transient' ), 20, 2 ); add_filter( 'pre_set_site_transient_update_themes', array( $this, 'set_update_transient' ) ); add_filter( 'themes_api', array( &$this, 'api_results' ), 10, 3 ); } public function form() { ?>
Note: you are allowed to use our theme only on one domain if you purchased a regular license. But we give you an ability to activate our theme to turn on auto updates on two domains: for the development website and for your production (live) website. If you need to check all your active domains or you want to remove some of them you should visit our website and check the activation list in your account.', woodmart_get_allowed_html() ); ?>