- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
「関数リファレンス/remove shortcode」の版間の差分
提供: WordPress Codex 日本語版
< 関数リファレンス
(英語版をコピペ。) |
(和訳完了。) |
||
1行目: | 1行目: | ||
− | = | + | <div id="Description"> |
+ | == 説明 == | ||
+ | </div> | ||
+ | [[Shortcode API|ショートコード]]用のフックを削除します。 | ||
− | + | <div id="Usage"> | |
+ | == 使用法 == | ||
+ | </div> | ||
+ | <?php remove_shortcode( $tag ); ?> | ||
− | = | + | <div id="Parameters"> |
− | + | == パラメーター == | |
− | + | </div> | |
− | + | {{Parameter|$tag|string|フックを削除するショートコード。}} | |
− | == | + | |
− | + | ||
− | {{Parameter|$tag|string| | + | |
− | + | ||
− | + | ||
+ | <div id="Return Values"> | ||
+ | == 戻り値 == | ||
+ | </div> | ||
; (none) : | ; (none) : | ||
− | = | + | <div id="Examples"> |
− | + | == 使用例 == | |
+ | </div> | ||
+ | <div id="Notes"> | ||
== Notes == | == Notes == | ||
+ | </div> | ||
+ | <div id="Change Log"> | ||
+ | == 改訂履歴 == | ||
+ | </div> | ||
+ | * [[Version 2.5|2.5.0]]にて導入されました。 | ||
− | = | + | <div id="Source File"> |
− | + | == ソースファイル == | |
− | + | </div> | |
− | + | <tt>remove_shortcode()</tt> は {{Trac|wp-includes/shortcodes.php}} にあります。 | |
− | == | + | |
− | + | ||
− | <tt>remove_shortcode()</tt> | + | |
− | + | ||
− | + | ||
+ | <div id="Related"> | ||
+ | == 関連項目 == | ||
+ | </div> | ||
{{Shortcode Tags}} | {{Shortcode Tags}} | ||
{{Tag Footer}} | {{Tag Footer}} | ||
+ | |||
+ | {{原文|Function Reference/remove shortcode|135102}}<!-- 12:33, 1 September 2013 Djkaz 版 --> | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:New_page_created]] | [[Category:New_page_created]] |
2013年9月1日 (日) 21:35時点における版
ショートコード用のフックを削除します。
使用法
<?php remove_shortcode( $tag ); ?>
パラメーター
- $tag
- (string) (必須) フックを削除するショートコード。
- 初期値: なし
戻り値
- (none)
使用例
Notes
改訂履歴
- 2.5.0にて導入されました。
ソースファイル
remove_shortcode() は wp-includes/shortcodes.php
にあります。
関連項目
ショートコード: do_shortcode(), add_shortcode(), remove_shortcode(), remove_all_shortcodes(), shortcode_atts(), strip_shortcodes(), shortcode_exists(), has_shortcode(), get_shortcode_regex(), wp_audio_shortcode(), wp_video_shortcode(), フィルター no_texturize_shortcodes /en
関数リファレンス、テンプレートタグ目次もご覧ください。
最新英語版: WordPress Codex » Function Reference/remove shortcode (最新版との差分)