$key, 'status' => $status, ); } public function update_key( string $key ): bool { return update_option( self::OPTION_NAME, array( 'key' => sanitize_text_field( trim( $key ) ), ) ); } }