テーマで使用する embed テンプレート 関数のリストと各 embed テンプレート タグの説明と使い方。 embed テンプレートファイルはwp-includesディレクトリに保存されています。
embed テンプレート リスト

embed タグ リスト・一覧
wp-includes/embed-template.php
| コード | 説明 | タイプ |
|---|---|---|
| _oembed_create_xml() | _oembed_create_xml() とは、指定された配列からXML文字列を作成します。 | function |
| _oembed_filter_feed_content() | _oembed_filter_feed_content() とは、 RSSフィードに表示される整形済みのHTMLを準備します。 | function |
| _oembed_rest_pre_serve_request() | _oembed_rest_pre_serve_request() とは、 JSONの代わりにXMLを出力するためにREST API出力にフックする。 | function |
| _wp_oembed_get_object() | _wp_oembed_get_object() とは、初期化されたWP_oEmbedオブジェクトを返します。 | function |
| embed_defaults | embed_defaults とは、埋め込み寸法のデフォルト配列をフィルタリングします。 | hooks |
| embed_googlevideo | embed_googlevideo とは、 Google Videoの埋め込み出力をフィルタリングします。 | hooks |
| embed_html | embed_html とは、指定された投稿の埋め込みHTML出力をフィルタリングします。 | hooks |
| embed_site_title_html | embed_site_title_html とは、埋め込みフッターのサイトタイトルHTMLをフィルタリングします。 | hooks |
| enqueue_embed_scripts | enqueue_embed_scripts とは、埋め込みiframeのスクリプトとスタイルがエンキューされたときに発生します。 | action |
| enqueue_embed_scripts() | enqueue_embed_scripts() とは、 embed iframeのデフォルトCSSとJS&fire do_action( 'enqueue_embed_scripts')をエンキューします。 | function |
| get_oembed_endpoint_url() | get_oembed_endpoint_url() とは、特定のパーマリンクのoEmbedエンドポイントURLを取得します。 | function |
| get_oembed_response_data_rich() | get_oembed_response_data_rich() とは、 oEmbedレスポンスデータをフィルタリングしてiframe埋め込みコードを返します。 | function |
| get_post_embed_html() | get_post_embed_html() とは、特定の投稿の埋め込みコードを取得します。 | function |
| get_post_embed_url() | get_post_embed_url() とは、特定の投稿をiframeに埋め込むためのURLを取得します。 | function |
| load_default_embeds | load_default_embeds とは、デフォルトの埋め込みハンドラを読み込むかどうかを指定します。 | hooks |
| oembed_discovery_links | oembed_discovery_links とは、 oEmbedディスカバリリンクのHTMLをフィルタリングします。 | hooks |
| oembed_endpoint_url | oembed_endpoint_url とは、 oEmbedエンドポイントURLをフィルターに掛けます。 | hooks |
| oembed_response_data | oembed_response_data とは、 oEmbed応答データをフィルターします。 | hooks |
| post_embed_url | post_embed_url とは、 URLをフィルタリングして、特定の投稿を埋め込みます。 | hooks |
| print_embed_comments_button() | print_embed_comments_button() とは、埋め込みコメントボタンに必要なマークアップを印刷します。 | function |
| print_embed_scripts() | print_embed_scripts() とは、 JavaScriptを埋め込みiframeヘッダーに印刷します。 | function |
| print_embed_sharing_button() | print_embed_sharing_button() とは、埋め込み共有ボタンに必要なマークアップを印刷します。 | function |
| print_embed_sharing_dialog() | print_embed_sharing_dialog() とは、埋め込み共有ダイアログに必要なマークアップを印刷します。 | function |
| print_embed_styles() | print_embed_styles() とは、埋め込みiframeヘッダーにCSSを印刷します。 | function |
| the_embed_site_title() | the_embed_site_title() とは、埋め込みテンプレートのサイトタイトルに必要なマークアップを印刷します。 | function |
| the_excerpt_embed() | the_excerpt_embed() とは、埋め込みテンプレートの下書きを表示します。 | function |
| the_excerpt_embed | the_excerpt_embed とは、埋め込みテンプレートの投稿の抜粋をフィルタリングします。 | hooks |
| wp_audio_embed_handler | wp_audio_embed_handler とは、オーディオ埋め込みハンドラのコールバックをフィルタリングします。 | hooks |
| wp_embed_defaults() | wp_embed_defaults() とは、埋め込みパラメータのデフォルト配列を作成します。 | function |
| wp_embed_excerpt_attachment() | wp_embed_excerpt_attachment() とは、埋め込みテンプレートの抜粋をフィルタリングします。 | function |
| wp_embed_excerpt_more() | wp_embed_excerpt_more() とは、トリミングされた抜粋の後に表示される 'more'リンクの文字列をフィルタリングします。 | function |
| wp_embed_handler_audio() | wp_embed_handler_audio() とは、オーディオ埋め込みハンドラのコールバック。 | function |
| wp_embed_handler_audio | wp_embed_handler_audio とは、オーディオ埋め込み出力をフィルタリングします。 | hooks |
| wp_embed_handler_video | wp_embed_handler_video とは、ビデオ埋め込み出力をフィルタリングします。 | hooks |
| wp_embed_handler_video() | wp_embed_handler_video() とは、ビデオ埋め込みハンドラのコールバック。 | function |
| wp_embed_handler_youtube | wp_embed_handler_youtube とは、 YoutTubeの埋め込み出力をフィルタリングします。 | hooks |
| wp_embed_handler_youtube() | wp_embed_handler_youtube() とは、 YouTube iframe埋め込みハンドラのコールバック。 | function |
| wp_embed_register_handler() | wp_embed_register_handler() とは、埋め込みハンドラを登録します。 | function |
| wp_embed_unregister_handler() | wp_embed_unregister_handler() とは、以前に登録された埋め込みハンドラの登録を解除します。 | function |
| wp_filter_oembed_result() | wp_filter_oembed_result() とは、指定されたoEmbed HTMLをフィルタリングします。 | function |
| wp_filter_pre_oembed_result() | wp_filter_pre_oembed_result() とは、 HTTPリクエストが行われる前にoEmbed結果をフィルタリングします。 | function |
| wp_maybe_load_embeds() | wp_maybe_load_embeds() とは、デフォルトの埋め込みハンドラを読み込むかどうかを指定します。 | function |
| wp_oembed_add_host_js() | wp_oembed_add_host_js() とは、組み込みiframeと通信するために必要なJavaScriptを追加します。 | function |
| wp_oembed_add_provider() | wp_oembed_add_provider() とは、 URL形式とoEmbedプロバイダURLのペアを追加します。 | function |
| wp_oembed_ensure_format() | wp_oembed_ensure_format() とは、指定された形式が 'json'または 'xml'であることを確認します。 | function |
| wp_oembed_get() | wp_oembed_get() とは、のoEmbedを使用して提供されたURLのための埋め込みHTMLを取得しようとします。 | function |
| wp_oembed_register_route() | wp_oembed_register_route() とは、 oEmbed REST APIルートを登録します。 | function |
| wp_oembed_remove_provider() | wp_oembed_remove_provider() とは、 oEmbedプロバイダを削除します。 | function |
| wp_video_embed_handler | wp_video_embed_handler とは、ビデオ埋め込みハンドラコールバックをフィルタリングします。 | hooks |
| ソース ファイル | wp-includes/embed-template.php | File |
WordPress バージョン 4.8.1 wp-includes
| wp-includes/ フォルダ | |
| wp-includes/ certificates | wp-includes/ pomo |
| wp-includes/ css | wp-includes/ random_compat |
| wp-includes/ customize | wp-includes/ Requests |
| wp-includes/ fonts | wp-includes/ rest-api |
| wp-includes/ ID3 | wp-includes/ SimplePie |
| wp-includes/ images | wp-includes/ Text |
| wp-includes/ IXR | wp-includes/ theme-compat |
| wp-includes/ js | wp-includes/ widgets |
