WordPress at Your Fingertips
function is not described

woocommerce_light_or_dark() WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

woocommerce_light_or_dark( $color, $dark, $light );
$color (required)
-
$dark **
-
Default: '#000000'
$light **
-
Default: '#FFFFFF'

Changelog

Deprecated 3.0

Code of woocommerce_light_or_dark() WC 6.1.1

function woocommerce_light_or_dark( $color, $dark = '#000000', $light = '#FFFFFF' ) {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_light_or_dark' );
	return wc_light_or_dark( $color, $dark, $light );
}