WordPress: Function Reference/plugin basename:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: == Description == Gets the basename of a plugin (extracts the name of a plugin from its filename). == Usage == %%% <?php plugin_basename($file); ?> %%% == Parameters == ; <tt>$file</...)
 
无编辑摘要
第1行: 第1行:
== Description ==
== Description ==
== 描述==


Gets the basename of a plugin (extracts the name of a plugin from its filename).
Gets the basename of a plugin (extracts the name of a plugin from its filename).
得到插件的basename(从插件文件名中提取插件名称)。


== Usage ==
== Usage ==
== 用法 ==
%%% <?php plugin_basename($file); ?> %%%


%%% <?php plugin_basename($file); ?> %%%
%%% <?php plugin_basename($file); ?> %%%


== Parameters ==
== Parameters ==
== 参数 ==


; <tt>$file</tt> : (''string'') The filename of a plugin.
; <tt>$file</tt> : (''string'') The filename of a plugin.
; <tt>$file</tt> : (''string'')插件的文件名。


== Return ==
== Return ==
== 返回==


The basename of a plugin.
The basename of a plugin.
 
插件的basename。
{{Stub}}
{{Stub}}
{{Stub}}

2008年7月21日 (一) 13:58的版本

Description

描述

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

得到插件的basename(从插件文件名中提取插件名称)。

Usage

用法

%%% <?php plugin_basename($file); ?> %%%

%%% <?php plugin_basename($file); ?> %%%

Parameters

参数

$file
(string) The filename of a plugin.
$file
(string)插件的文件名。

Return

返回

The basename of a plugin. 插件的basename。

This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.

This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.