public static function esc_html_class( $classes ) {
		$classes = array_filter( array_unique( (array) $classes ) );

		if ( empty( $classes ) ) {
			return '';
		}

		return implode( ' ', array_map( 'sanitize_html_class', $classes ) );
	}
public static function esc_html_class( $classes ) {
		$classes = array_filter( array_unique( (array) $classes ) );

		if ( empty( $classes ) ) {
			return '';
		}

		return implode( ' ', array_map( 'sanitize_html_class', $classes ) );
	}
public static function esc_html_class ( $ classes ) { $ classes = array_filter ( array_unique ( ( array ) $ classes ) ) ; if ( empty ( $ classes ) ) { return '' ; } return implode ( ' ' , array_map ( 'sanitize_html_class' , $ classes ) ) ; }
Returns class string by given an array of classes.

@param  array $classes The array of class.
@return string
Returns class string by given an array of classes .