I'm trying to add some JS and CSS code in the admin header section. Works fine. But I do want the code only to appear on certain pages like edit.php or edit-pages.php.
add_action('admin_head-xxxx', 'function' );
seems not to work for me. What do I have to fill xxxx with? I tried
add_action('admin_head-edit', 'function' );
but it didnt work.