I know this is probably a silly question but what does this piece of code do?
PHP Code:
// Make theme available for translation // Translations can be filed in the /languages/ directory load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' );
$locale = get_locale(); $locale_file = TEMPLATEPATH . "/languages/$locale.php"; if ( is_readable( $locale_file ) ) require_once( $locale_file );
Im espeically looking at the if statement and what happens if its false or true?
|