/** * Extend woocommerce function to add our custom options */ public function generate_textarea_html($key, $data) { $row_html = parent::generate_textarea_html($key, $data); return $this->apply_custom_row_attributes($row_html, $data); }