WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
29 | $saturation = absint( apply_filters( 'twentynineteen_custom_colors_saturation', 100 ) ); |
30 | $saturation = $saturation . '%'; |
31 |
|
32 | $saturation_selection = absint( apply_filters( 'twentynineteen_custom_colors_saturation_selection', 50 ) ); |
33 | $saturation_selection = $saturation_selection . '%'; |
34 |
|
35 | $lightness = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) ); |
36 | $lightness = $lightness . '%'; |
37 |
|
38 | $lightness_hover = absint( apply_filters( 'twentynineteen_custom_colors_lightness_hover', 23 ) ); |
39 | $lightness_hover = $lightness_hover . '%'; |
40 |
|
41 | $lightness_selection = absint( apply_filters( 'twentynineteen_custom_colors_lightness_selection', 90 ) ); |
42 | $lightness_selection = $lightness_selection . '%'; |
43 |
|
44 | $theme_css = ' |
45 | /* |
46 | * Set background for: |
47 | * - featured image :before |