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 |
---|---|
28 | $saturation = absint( $saturation ) . '%'; |
29 |
|
30 | /** |
31 | * Filter Twenty Nineteen default selection saturation level. |
32 | * |
33 | * @since Twenty Nineteen 1.0 |
34 | * |
35 | * @param int $saturation_selection Selection color saturation level. |
36 | */ |
37 | $saturation_selection = absint( apply_filters( 'twentynineteen_custom_colors_saturation_selection', 50 ) ); |
38 | $saturation_selection = $saturation_selection . '%'; |
39 |
|
40 | /** |
41 | * Filter Twenty Nineteen default lightness level. |
42 | * |
43 | * @since Twenty Nineteen 1.0 |
44 | * |
45 | * @param int $lightness Color lightness level. |
46 | */ |