WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Screen::add_body_class() public WC 1.0

Add navigation classes to body.

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

Return

String. Nothing.

Usage

$Screen = new Screen();
$Screen->add_body_class( $classes );
$classes(string) (required)
Classes.

Code of Screen::add_body_class() WC 5.3.0

<?php
public function add_body_class( $classes ) {
	if ( self::is_woocommerce_page() ) {
		$classes .= ' has-woocommerce-navigation';

		/**
		 * Adds the ability to skip disabling of the WP toolbar.
		 *
		 * @param boolean $bool WP Toolbar disabled.
		 */
		if ( apply_filters( 'woocommerce_navigation_wp_toolbar_disabled', true ) ) {
			$classes .= ' is-wp-toolbar-disabled';
		}
	}

	return $classes;
}