use the admin_head hook
01 02 03 04 05 06 07 08 09 10 | add_action( 'admin_head' , 'my_admin_style' ); function my_custom_fonts() { ?> <style> tr[data-gateway_id^= "stripe_" ] { display: none; } </style> <?php } |
or, you can use the admin_enqueue_scripts hook
1 2 3 4 5 | add_action( 'admin_enqueue_scripts' , 'my_admin_stylesheet' ); function my_admin_stylesheet() { // enqueue your stylesheet wp_enqueue_script( 'my_custom_script' , plugin_dir_url( __FILE__ ) . 'myscript.js' , array (), '1.0' ); } |