twentynineteen_custom_colors_lightness хук-фильтрWC 1.0

Использование

add_filter( 'twentynineteen_custom_colors_lightness', 'wp_kama_twentynineteen_custom_colors_lightness_filter' );

/**
 * Function for `twentynineteen_custom_colors_lightness` filter-hook.
 * 
 * @param  $33 
 *
 * @return 
 */
function wp_kama_twentynineteen_custom_colors_lightness_filter( $33 ){

	// filter...
	return $33;
}
$33
-

Где вызывается хук

WC_Twenty_Nineteen::custom_colors_css()
twentynineteen_custom_colors_lightness
woocommerce/includes/theme-support/class-wc-twenty-nineteen.php 112
$lightness = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) );

Где используется хук в WooCommerce

Использование не найдено.