get_template_directory | 현재 테마 경로 출력

|

개요

테마의 경로를 출력합니다.

사용법

require_once( get_template_directory() . '/inc/regist_post_type.php' );

일반적으로 PHP의 require 함수와 같이 사용됩니다.

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

클릭하여 복사