wp_templating_constants [ WordPress Function ]
wp_templating_constants ( No parameters )
| Defined at: |
|
Benzer Fonksiyonlar: wp_ssl_constants, wp_initial_constants, ms_upload_constants, wp_transition_comment_status, wp_cookie_constants
Defines templating related WordPress constants
Source
<?php
function wp_templating_constants( ) {
/**
* Filesystem path to the current active template directory
* @since 1.5.0
*/
define('TEMPLATEPATH', get_template_directory());
/**
* Filesystem path to the current active template stylesheet directory
* @since 2.1.0
*/
define('STYLESHEETPATH', get_stylesheet_directory());
/**
* Slug of the default theme for this install.
* Used as the default theme when installing new sites.
* Will be used as the fallback if the current theme doesn't exist.
* @since 3.0.0
*/
if ( !defined('WP_DEFAULT_THEME') )
define( 'WP_DEFAULT_THEME', 'twentyeleven' );
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/wp templating constants « WordPress Codex
Function Reference/wp templating constants. Description. Defines templating related WordPress constants TEMPLATEPATH, STYLESHEETPATH and ...
codex.wordpress.org - Docs for page default-constants.php
void wp_ssl_constants (). wp_templating_constants (line 276). Defines templating related WordPress constants. since: 3.0.0. void wp_templating_constants () ...
phpdoc.wordpress.org - wp_templating_constants (WordPress Function) - WPSeek.com
WordPress lookup for wp_templating_constants, a WordPress Function. wpseek. com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - PHPXRef 0.7 : WordPress : Detail view of default-constants.php
wp_initial_constants() wp_plugin_directory_constants() wp_cookie_constants() wp_ssl_constants() wp_functionality_constants() wp_templating_constants() ...
phpxref.ftwr.co.uk