WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

OnlineClothingStore::is_in_fashion_industry() private WC 1.0

Returns whether the industries includes fashion-apparel-accessories.

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

No Hooks.

Return

true|false. Whether the industries includes fashion-apparel-accessories.

Usage

$result = OnlineClothingStore::is_in_fashion_industry( $industries );
$industries(array) (required)
The industries to search.

Code of OnlineClothingStore::is_in_fashion_industry() WC 5.3.0

<?php
private static function is_in_fashion_industry( $industries ) {
	foreach ( $industries as $industry ) {
		if ( 'fashion-apparel-accessories' === $industry['slug'] ) {
			return true;
		}
	}

	return false;
}