original_string: protected function current_section_in_cookie( $id ) {
  		if ( empty( $_COOKIE['_wplibs_current_sections'] ) ) {
  			return null;
  		}
  
  		$currents = json_decode(
  			sanitize_text_field( wp_unslash( $_COOKIE['_wplibs_current_sections'] ) ), true
  		);
  
  		if ( array_key_exists( $id, $currents ) ) {
  			return $currents[ $id ];
  		}
  
  		return null;
  	}
code: protected function current_section_in_cookie( $id ) {
  		if ( empty( $_COOKIE['_wplibs_current_sections'] ) ) {
  			return null;
  		}
  
  		$currents = json_decode(
  			sanitize_text_field( wp_unslash( $_COOKIE['_wplibs_current_sections'] ) ), true
  		);
  
  		if ( array_key_exists( $id, $currents ) ) {
  			return $currents[ $id ];
  		}
  
  		return null;
  	}
code_tokens: protected function current_section_in_cookie ( $ id ) { if ( empty ( $ _COOKIE [ '_wplibs_current_sections' ] ) ) { return null ; } $ currents = json_decode ( sanitize_text_field ( wp_unslash ( $ _COOKIE [ '_wplibs_current_sections' ] ) ) , true ) ; if ( array_key_exists ( $ id , $ currents ) ) { return $ currents [ $ id ] ; } return null ; }
docstring: Resolve current section from the cookie.
  
  @return string|null
docstring_tokens: Resolve current section from the cookie .