twentynineteen_custom_colors_lightness хук-фильтр . WC 1.0
Использование
add_filter( 'twentynineteen_custom_colors_lightness', 'filter_function_name_911' ); function filter_function_name_911( $33 ){ // filter... return $33; }
- $33
- -
Где вызывается хук
twentynineteen_custom_colors_lightness
woocommerce/includes/theme-support/class-wc-twenty-nineteen.php 112
$lightness = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) );