WordPress at Your Fingertips
function is not described


Assets::add_theme_admin_body_class() public WC 1.0

Deprecated from version 5.0.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Add theme class to admin body.

{} It's a method of the class: Assets{}

No Hooks.


Array. Modified string of CSS classnames.


$result = Assets::add_theme_admin_body_class( $classes );
String with the CSS classnames.
Default: ''


Deprecated 5.0.0

Code of Assets::add_theme_admin_body_class() WC 5.7.1

public static function add_theme_admin_body_class( $classes = '' ) {
	_deprecated_function( 'Assets::add_theme_admin_body_class', '5.0.0' );
	return $classes;