Codex

Function Reference/plugin basename

Contents

Description

Gets the basename of a plugin (extracts the name of a plugin from its filename).

Usage

 <?php plugin_basename($file); ?> 

Parameters

$file 
(string) The filename of a plugin.

Return

The basename of a plugin.

This page is marked as incomplete. You can help Codex by expanding it.