wp_head on certain admin pages only
-
Hey there,
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.
Any suggestions?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘wp_head on certain admin pages only’ is closed to new replies.