- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
「関数リファレンス/backslashit」の版間の差分
提供: WordPress Codex 日本語版
< 関数リファレンス
(英語版をコピペ。) |
(和訳完了。) |
||
1行目: | 1行目: | ||
− | = | + | <div id="Description"> |
− | + | == 説明 == | |
+ | </div> | ||
+ | 文字の前と文字列最初の数字の前にバックスラッシュを付与する関数です。 | ||
− | = | + | <div id="Usage"> |
− | + | == 使用法 == | |
+ | </div> | ||
+ | <?php backslashit( $string ) ?> | ||
− | = | + | <div id="Parameters"> |
− | {{Parameter|$string|string| | + | == パラメーター == |
+ | </div> | ||
+ | {{Parameter|$string|string|バックスラッシュを付与する値。}} | ||
− | = | + | <div id="Return Values"> |
− | ; (string) : | + | == 戻り値 == |
+ | </div> | ||
+ | ; (string) : バックスラッシュが付与された文字列。 | ||
− | = | + | <div id="Examples"> |
+ | == 使用例 == | ||
+ | </div> | ||
<!-- Need creative examples. Feel free to link to external examples. --> | <!-- Need creative examples. Feel free to link to external examples. --> | ||
− | = | + | <div id="Notes"> |
− | * | + | == 注釈 == |
+ | </div> | ||
+ | * バックスラッシュとは '<tt>\</tt>' ←これです。 | ||
− | = | + | <div id="Change Log"> |
− | + | == 改訂履歴 == | |
+ | </div> | ||
+ | 0.71 にて導入されました。 | ||
− | = | + | <div id="Source File"> |
+ | == ソースファイル == | ||
+ | </div> | ||
+ | <tt>backslashit()</tt> は {{Trac|wp-includes/formatting.php}} にあります。 | ||
− | < | + | <div id="Related"> |
− | + | == 関連項目 == | |
− | == | + | </div> |
<!-- | <!-- | ||
To Do: | To Do: | ||
33行目: | 50行目: | ||
{{Tag Footer}} | {{Tag Footer}} | ||
+ | |||
+ | {{原文|backslashit|134631}}<!-- 13:18, 18 August 2013 Djkaz 版 --> | ||
+ | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:New_page_created]] | [[Category:New_page_created]] |
2013年8月18日 (日) 22:26時点における版
文字の前と文字列最初の数字の前にバックスラッシュを付与する関数です。
使用法
<?php backslashit( $string ) ?>
パラメーター
- $string
- (string) (必須) バックスラッシュを付与する値。
- 初期値: なし
戻り値
- (string)
- バックスラッシュが付与された文字列。
使用例
注釈
- バックスラッシュとは '\' ←これです。
改訂履歴
0.71 にて導入されました。
ソースファイル
backslashit() は wp-includes/formatting.php
にあります。
関連項目
関数リファレンス、テンプレートタグ目次もご覧ください。
最新英語版: WordPress Codex » backslashit (最新版との差分)