📅  最后修改于: 2022-03-11 14:54:15.635000             🧑  作者: Mango
function myfirsttheme_setup() {
/**
* Make theme available for translation.
* Translations can be placed in the /languages/ directory.
*/
load_theme_textdomain( 'myfirsttheme', get_template_directory() . '/languages' );
}
add_action( 'after_setup_theme', 'myfirsttheme_setup' );