WordPress:Function Reference/wptexturize
来自站长百科
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