wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php:426Sanitization callback for the "accent_accessible_colors" setting.
$valuearrayarray public static function sanitize_accent_accessible_colors( $value ) { // Make sure the value is an array. Do not typecast, use empty array as fallback. $value = is_array( $value ) ? $value : array(); // Loop values. foreach ( $value as $area => $values ) { foreach ( $values as $context => $color_val ) { $value[ $area ][ $context ] = sanitize_hex_color( $color_val ); } } return $value; }Introduced in Twenty Twenty 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.