📅  最后修改于: 2022-03-11 14:58:13.198000             🧑  作者: Mango
true, 'label' => __( 'Custom Post', 'textdomain' ));
register_post_type( 'custom_post', $args );
}
add_action( 'init', 'custom_setup_post_type' );
?>