PluginProbe
Import Users & Customers with Meta | WP Ultimate CSV Importer Add-on / 1.2
Import Users & Customers with Meta | WP Ultimate CSV Importer Add-on v1.2
2.0 1.7.1 1.2.9 1.3 1.4 1.4.1 1.4.2 1.4.3 1.5 1.6 1.7 trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8
← All changes | SmackImportUserInstall.php +12 -16 trunk1.2 View file →
@@ -1,11 +1,11 @@
1 1 <?php
2 -/**
3 - * Import Users plugin file.
4 - *
5 - * Copyright (C) 2010-2020, Smackcoders Inc - info@smackcoders.com
6 - */
7 -
2 +/******************************************************************************************
3 + * Copyright (C) Smackcoders. - All Rights Reserved under Smackcoders Proprietary License
4 + * Unauthorized copying of this file, via any medium is strictly prohibited
5 + * Proprietary and confidential
6 + * You can contact Smackcoders at email address info@smackcoders.com.
7 + *******************************************************************************************/
8 8 namespace Smackcoders\SMUSERS;
9 9
10 10 if ( ! defined( 'ABSPATH' ) )
11 11 exit; // Exit if accessed directly
@@ -12,9 +12,8 @@
12 12
13 13 class UserInstall {
14 14
15 15 protected static $instance = null,$smack_instance,$tables_instance;
16 - public $plugin;
17 16 private static $db_updates = array();
18 17 /**
19 18 * SmackCSVInstall Constructor
20 19 */
@@ -50,19 +49,16 @@
50 49 * @param mixed $links Plugin Row Meta
51 50 * @param mixed $file Plugin Base file
52 51 * @return array
53 52 */
54 - public function plugin_row_meta( $links, $file ) {
55 - $active_plugins = get_option('active_plugins');
56 - if(in_array('wp-ultimate-csv-importer/wp-ultimate-csv-importer.php', $active_plugins)){
57 - return $links;
58 - }
59 - else{
53 + public static function plugin_row_meta( $links, $file ) {
60 54 $row_meta = array(
61 - 'install_csv_importer' => '<a style="font-weight: bold;color: #d54e21;font-size: 105%;" href="' . esc_url( apply_filters( 'install_csv_importer', 'https://wordpress.org/plugins/wp-ultimate-csv-importer/' ) ) . '" title="' . esc_attr( __( 'Install CSV Importer', 'wp-ultimate-csv-importer' ) ) . '" target="_blank">' . __( 'Install CSV Importer', 'wp-ultimate-csv-importer' ) . '</a>'
62 - );
63 55
56 + 'support' => '<a href="' . esc_url( apply_filters( 'sm_uci_support_url', admin_url() . 'admin.php?page=com.smackcoders.csvimporternew.menu&support' ) ) . '" title="' . esc_attr( __( 'Contact Support', 'import-woocommerce' ) ) . '" target="_blank">' . __( 'Support', 'import-woocommerce' ) . '</a>',
57 + );
58 + unset( $links['edit'] );
59 + //unset($links['View details']);
60 +
64 61 return array_merge( $row_meta, $links );
65 - }
66 62 }
67 63
68 64 }