function yith_wcauthnet_constructor() { load_plugin_textdomain('yit', false, dirname(plugin_basename(__FILE__)) . '/languages/'); // Load required classes and functions require_once YITH_WCAUTHNET_INC . 'class.yith-wcauthnet-credit-card-gateway.php'; require_once YITH_WCAUTHNET_INC . 'class.yith-wcauthnet.php'; if (is_admin()) { require_once YITH_WCAUTHNET_INC . 'class.yith-wcauthnet-admin.php'; YITH_WCAUTHNET_Admin(); } }
<?php /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ if (!defined('YITH_WCAUTHNET')) { exit; } // Exit if accessed directly return array('name' => __('Upgrade to the PREMIUM VERSION', 'yith-wcauthnet'), 'type' => 'videobox', 'default' => array('plugin_name' => __('YITH WooCommerce Authorize.net', 'yith-wcauthnet'), 'title_first_column' => __('Discover the Advanced Features', 'yith-wcauthnet'), 'description_first_column' => __('Upgrade to the PREMIUM VERSION of YITH WooCommerce Authorize.net to benefit from all features!', 'yith-wcauthnet'), 'video' => array('video_id' => '121450270', 'video_image_url' => YITH_WCAUTHNET_URL . 'assets/images/yith-woocommerce-authorize-net.jpg', 'video_description' => __('YITH WooCommerce Authorize.net', 'yith-wcauthnet')), 'title_second_column' => __('Get Support and Pro Features', 'yith-wcauthnet'), 'description_second_column' => __('By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yith-wcauthnet'), 'button' => array('href' => YITH_WCAUTHNET_Admin()->get_premium_landing_uri(), 'title' => __('Get Support and Pro Features', 'yith-wcauthnet'))), 'id' => 'yith_wcauthnet_general_videobox');
<div class="section-title"> <img src="<?php echo YITH_WCAUTHNET_URL; ?> /assets/images/05-icon.png" alt="Vote the review" /> <h2>REFUND</h2> </div> <p>The refund is now quick and easy. You will just have to go to the order page you are interested into, and with the related button, the amount that you will write will be refunded directly on the client's credit card.</p> </div> </div> </div> <div class="section section-cta section-odd"> <div class="landing-container"> <div class="premium-cta"> <p> Upgrade to the <span class="highlight">premium version</span> of <span class="highlight">YITH WooCommerce Authorize.net Payment Gateway</span> to benefit from all features! </p> <a href="<?php echo YITH_WCAUTHNET_Admin()->get_premium_landing_uri(); ?> " target="_blank" class="premium-cta-button button btn"> <span class="highlight">UPGRADE</span> <span>to the premium version</span> </a> </div> </div> </div> </div>