Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Plugin API/Action Reference/admin head

admin_head is an action event and can be hooked by add_action hook.

Usage Example:

function my_custom_admin_head() {
	echo '<style>[for="wp_welcome_panel-hide"] {display: none !important;}</style>';
add_action( 'admin_head', 'my_custom_admin_head' );

In this example I have added a style to admin_head so I can remove welcome message option from dashboard, you can make and customize your own function and add it the same way.

This page is marked as incomplete. You can help Codex by expanding it.