WordPress: Function Reference/wptexturize:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: {{stub}} == Description == This returns given text with some transformations: == Usage == %%% <?php wptexturize(); ?> %%% (List is incomplete, but gives you an idea.) {| | -- | en...)
 
无编辑摘要
第1行: 第1行:
{{stub}}
{{stub}}
{{stub}}
== Description ==
== Description ==
== 描述==


This returns given text with some transformations:
This returns given text with some transformations:
这个函数返回已经更改的文本。
== Usage ==
== 用法 ==
%%% <?php wptexturize(); ?> %%%


== Usage ==


%%% <?php wptexturize(); ?> %%%
%%% <?php wptexturize(); ?> %%%
第10行: 第18行:


(List is incomplete, but gives you an idea.)
(List is incomplete, but gives you an idea.)
(列表不完整,但是能够向你提供一些信息。)
{|
| --
| en-dash
|-
| ---
| em-dash
|-
| ...
| ellipsis
|}


{|  
{|  
第23行: 第45行:


There is a small "cockney" list of transformations, as well. The following common phrases will have typographic quotes added to them:
There is a small "cockney" list of transformations, as well. The following common phrases will have typographic quotes added to them:
也有一个关于更改内容的"cockney"列表。下面的常见的短语 ,添加有typographic quotes:
* 'tain't
* 'twere
* 'twas
* 'tis
* 'twill
* 'til
* 'bout
* 'nuff
* 'round
* 'cause


* 'tain't
* 'tain't
第36行: 第72行:


== Parameters ==
== Parameters ==
== 参数 ==
<!--
<!--
; userid : (''integer'') The id of the user whose data you want to update.
; userid : (''integer'') The id of the user whose data you want to update.
-->
<!--
; userid : (''integer'')你想要更新用户数据的用户的ID。
-->
-->

2008年7月21日 (一) 17:19的版本

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.

Description

描述

This returns given text with some transformations: 这个函数返回已经更改的文本。

Usage

用法

%%% <?php wptexturize(); ?> %%%


%%% <?php wptexturize(); ?> %%%


(List is incomplete, but gives you an idea.)

(列表不完整,但是能够向你提供一些信息。)

-- en-dash
--- em-dash
... ellipsis


-- en-dash
--- em-dash
... ellipsis

There is a small "cockney" list of transformations, as well. The following common phrases will have typographic quotes added to them:

也有一个关于更改内容的"cockney"列表。下面的常见的短语 ,添加有typographic quotes:

  • 'tain't
  • 'twere
  • 'twas
  • 'tis
  • 'twill
  • 'til
  • 'bout
  • 'nuff
  • 'round
  • 'cause


  • 'tain't
  • 'twere
  • 'twas
  • 'tis
  • 'twill
  • 'til
  • 'bout
  • 'nuff
  • 'round
  • 'cause

Parameters

参数