wp_templating_constants example


$GLOBALS['wp_roles'] = new WP_Roles();

/** * Fires before the theme is loaded. * * @since 2.6.0 */
do_action( 'setup_theme' );

// Define the template related constants. wp_templating_constants();

// Load the default text localization domain. load_default_textdomain();

$locale      = get_locale();
$locale_file = WP_LANG_DIR . "/$locale.php";
if ( ( 0 === validate_file( $locale ) ) && is_readable( $locale_file ) ) {
    require $locale_file;
}
unset( $locale_file );

Home | Imprint | This part of the site doesn't use cookies.