original_string: public function render( \WP_Post $post = null ){
          $required = $this->get_required($post);
          $label = esc_html($this->label);
          $desc_str = $this->description;
          $desc = !empty($desc_str) ? sprintf('<p class="description">%s</p>', $this->description) : '';
          $input = $this->get_field($post);
          echo $this->render_row($label, $required, $input, $desc, $post);
      }
code: public function render( \WP_Post $post = null ){
          $required = $this->get_required($post);
          $label = esc_html($this->label);
          $desc_str = $this->description;
          $desc = !empty($desc_str) ? sprintf('<p class="description">%s</p>', $this->description) : '';
          $input = $this->get_field($post);
          echo $this->render_row($label, $required, $input, $desc, $post);
      }
code_tokens: public function render ( \ WP_Post $ post = null ) { $ required = $ this -> get_required ( $ post ) ; $ label = esc_html ( $ this -> label ) ; $ desc_str = $ this -> description ; $ desc = ! empty ( $ desc_str ) ? sprintf ( '<p class="description">%s</p>' , $ this -> description ) : '' ; $ input = $ this -> get_field ( $ post ) ; echo $ this -> render_row ( $ label , $ required , $ input , $ desc , $ post ) ; }
docstring: Render input field
  
  @param \WP_Post $post
docstring_tokens: Render input field