wp-admin/includes/class-wp-screen.php:552Gets the arguments for an option for the screen.
$optionstring$keystring|falseoptionalfalse?string public function get_option( $option, $key = false ) { if ( ! isset( $this->_options[ $option ] ) ) { return null; } if ( $key ) { return $this->_options[ $option ][ $key ] ?? null; } return $this->_options[ $option ]; }Introduced in 3.3.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
string to ?string.verified against sourcesrc/wp-admin/includes/class-wp-screen.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.