src/tools/MbPath.php
public static function pName()
    {
        if (is_null(self::$pluginName)) {
            self::$pluginName = explode('/', plugin_basename(__FILE__))[0];
        }

        return self::$pluginName;
    }
public static function pName()
    {
        if (is_null(self::$pluginName)) {
            self::$pluginName = explode('/', plugin_basename(__FILE__))[0];
        }

        return self::$pluginName;
    }
public static function pName ( ) { if ( is_null ( self :: $ pluginName ) ) { self :: $ pluginName = explode ( '/' , plugin_basename ( __FILE__ ) ) [ 0 ] ; } return self :: $ pluginName ; }
Get plugin name

@return string
Get plugin name