removed redundant `get_plugin_slug`
This commit is contained in:
parent
9a07c70cfc
commit
20c039d946
|
@ -447,15 +447,6 @@ if ( ! class_exists( 'WC_Admin_Assets', false ) ) :
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Utility for getting plugin slug from file.
|
|
||||||
*
|
|
||||||
* @param string $plugin_file Plugin filename.
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
protected function get_plugin_slug( $plugin_file ) {
|
|
||||||
return dirname( $plugin_file );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
endif;
|
endif;
|
||||||
|
|
Loading…
Reference in New Issue