removed redundant `get_plugin_slug`

This commit is contained in:
haszari 2019-02-22 12:04:22 +13:00
parent 9a07c70cfc
commit 20c039d946
1 changed files with 0 additions and 9 deletions

View File

@ -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;