function WPLA()
{
    // global $wplister_amazon;
    // return $wplister_amazon;
    return WPLA_WPLister::get_instance();
}
        // PriceMatcher
        wp_register_script('wpla_price_matcher', self::$PLUGIN_URL . '/js/classes/PriceMatcher.js?ver=' . time(), array('jquery'));
        wp_enqueue_script('wpla_price_matcher');
        wp_localize_script('wpla_price_matcher', 'wpla_PriceMatcher_i18n', array('WPLA_URL' => WPLA_URL));
    }
    public function printProductsPageScripts()
    {
        global $wp_scripts;
        // ProfileSelector
        wp_register_script('wpla_profile_selector', self::$PLUGIN_URL . '/js/classes/ProfileSelector.js?ver=' . time(), array('jquery'));
        wp_enqueue_script('wpla_profile_selector');
        // ProductMatcher
        wp_register_script('wpla_product_matcher', self::$PLUGIN_URL . '/js/classes/ProductMatcher.js?ver=' . time(), array('jquery'));
        wp_enqueue_script('wpla_product_matcher');
        wp_localize_script('wpla_product_matcher', 'wpla_ProductMatcher_i18n', array('WPLA_URL' => WPLA_URL));
    }
    // check if current page is products list page
    public function isProductsPage()
    {
        global $pagenow;
        if (isset($_GET['post_type']) && $_GET['post_type'] == 'product' && $pagenow == 'edit.php') {
            return true;
        }
        return false;
    }
}
// class WPLA_WPLister
// instantiate plugin
// global $wplister_amazon;
$wplister_amazon = WPLA_WPLister::get_instance();