Home » Wordpress » How to add own style css into wp-admin backend using theme function hook

Here is snippet to add own style css into wp-admin backend using theme function hook.

function my_custom_admin_head(){
echo '<style>.yourclass {display: none !important;}</style>';
}
add_action('admin_head', 'my_custom_admin_head');

Array ( [0] => Wordpress )