Unused var if needed in future we can use WC_PLUGIN_BASENAME constant
This commit is contained in:
parent
5b0be2f102
commit
61dfac7ccd
|
@ -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' ) );
|
||||
|
|
Loading…
Reference in New Issue