wp-includes/block-supports/states.php:286Returns a style object with nested state keys removed.
$state_stylearray$nested_keysarrayarrayfunction wp_get_root_state_style( $state_style, $nested_keys ) { if ( ! is_array( $state_style ) ) { return $state_style; } $root_style = $state_style; foreach ( $nested_keys as $key ) { unset( $root_style[ $key ] ); } return $root_style;}Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/block-supports/states.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.