[WORDPRESS] How to apply CSS to a Custom post editing screen in the Admin panel

Code

functions.php

if($_GET[post_type] == '[Custom post name]'){
function admin_style_custom() {
echo '
[CSS]
'.PHP_EOL;
}
add_action('admin_print_styles', 'admin_style_custom');
}

Example

functions.php

if($_GET[post_type] == 'news'){
function admin_style_custom() {
echo '
<style>
div.term-description-wrap{
display:none;
}
</style>
'.PHP_EOL;
}
add_action('admin_print_styles', 'admin_style_custom');
}

Related article