Unused var if needed in future we can use WC_PLUGIN_BASENAME constant

This commit is contained in:
shivapoudel 2014-11-17 21:44:32 +05:45
parent 5b0be2f102
commit 61dfac7ccd
1 changed files with 0 additions and 4 deletions

View File

@ -21,14 +21,10 @@ if ( ! defined( 'ABSPATH' ) ) {
*/
class WC_Admin_Welcome {
private $plugin;
/**
* Hook in tabs.
*/
public function __construct() {
$this->plugin = 'woocommerce/woocommerce.php';
add_action( 'admin_menu', array( $this, 'admin_menus') );
add_action( 'admin_head', array( $this, 'admin_head' ) );
add_action( 'admin_init', array( $this, 'welcome' ) );