includes/class-freemius.php
private static function find_slug_by_basename( $plugin_base_name ) {
            $file_slug_map = self::$_accounts->get_option( 'file_slug_map', array() );

            if ( ! array( $file_slug_map ) || ! isset( $file_slug_map[ $plugin_base_name ] ) ) {
                return false;
            }

            return $file_slug_map[ $plugin_base_name ];
        }
private static function find_slug_by_basename( $plugin_base_name ) {
            $file_slug_map = self::$_accounts->get_option( 'file_slug_map', array() );

            if ( ! array( $file_slug_map ) || ! isset( $file_slug_map[ $plugin_base_name ] ) ) {
                return false;
            }

            return $file_slug_map[ $plugin_base_name ];
        }
private static function find_slug_by_basename ( $ plugin_base_name ) { $ file_slug_map = self :: $ _accounts -> get_option ( 'file_slug_map' , array ( ) ) ; if ( ! array ( $ file_slug_map ) || ! isset ( $ file_slug_map [ $ plugin_base_name ] ) ) { return false ; } return $ file_slug_map [ $ plugin_base_name ] ; }
Find plugin's slug by plugin's basename.

@author Vova Feldman (@svovaf)
@since  1.0.9

@param string $plugin_base_name

@return false|string
Find plugin s slug by plugin s basename .