関数 get_template_directory()
2014/12/16
関数 get_template_directory()
定義ファイル :/blog/wp-includes/theme.php 1
1 2 3 4 5 6 7 | function get_template_directory() { $template = get_template(); $theme_root = get_theme_root( $template ); $template_dir = "$theme_root/$template"; return apply_filters( 'template_directory', $template_dir, $template, $theme_root ); } |