WordPress at a glance
filter is not described

admin_body_class filter-hook . WP 2.3.0

Filters the CSS classes for the body tag in the admin.

This filter differs from the 'post_class' and 'body_class' filters in two important ways:

  1. $classes is a space-separated string of class names instead of an array.
  2. Not all core admin classes are filterable, notably: wp-admin, wp-core-ui, and no-js cannot be removed.

Usage

add_filter( 'admin_body_class', 'filter_function_name_7631' );
function filter_function_name_7631( $classes ){
	// filter...

	return $classes;
}
$classes(string)
Space-separated list of CSS classes.

Where the hook is called

In file: /wp-admin/admin-header.php
admin_body_class
wp-admin/admin-header.php 204
$admin_body_classes = apply_filters( 'admin_body_class', '' );
wp-admin/includes/template.php 1825
$admin_body_classes = apply_filters( 'admin_body_class', '' );

Where the hook is used (in WP core)

wp-admin/nav-menus.php 511
add_filter('admin_body_class', 'wp_nav_menu_max_depth');
wp-admin/widgets.php 32
add_filter( 'admin_body_class', 'wp_widgets_access_body_class' );