説明 有効化している テンプレート ディレクトリの URI を取得する。SSL が存在するかチェックする。 注意: 末尾にスラッシュ( / )は含まれません。 子テーマを使用している場合、親テーマのディレクトリの URI を返します。子テーマのディレクトリを取得するには get_stylesheet_directory_uri() を使用します。 使い方 Use the URI <?php get_template_directory_uri(); ?> Output the URI <?php echo get_template_directory_uri(); ?> パラメータ なし 戻り値 uri (文字列) テンプレートのあるディレクトリ URI 用例 get_template_directory_uri() を使って スクリプトを正しいパスで登録 <?php function m