Automattic\WooCommerce\Blocks

Assets::add_theme_admin_body_classpublic staticWC 1.0

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

Add theme class to admin body.

Method of the class: Assets{}

No Hooks.

Returns

Array. Modified string of CSS classnames.

Usage

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

Changelog

Deprecated since 5.0.0

Assets::add_theme_admin_body_class() code WC 9.9.4

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