- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
関数リファレンス/remove shortcode
提供: WordPress Codex 日本語版
< 関数リファレンス
ショートコード用のフックを削除します。
使用法
<?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 (最新版との差分)