TEMPLATEPATH
The WordPress Core TEMPLATEPATH constant.
Value (unknown)
get_template_directory()
Usage
if ( defined( 'TEMPLATEPATH' ) ) { // grab the value $value = constant( 'TEMPLATEPATH' ); if ( !empty( $value ) ) { // go forth and prosper... } }
Defined (1)
The constant is defined in the following location(s).
- /wp-includes/default-constants.php
- define('TEMPLATEPATH', get_template_directory());