Support » Plugin: Shipping Method Description for WooCommerce » How can I turn off html filtering?

  • Resolved kozyrev



    Removing “esc_html()” doesn’t help.

    I need to add a link to the description.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thomascharbit


    Hi Kozyrev,

    I apologize for my late reply, somehow i didn’t get any notification for your support thread.

    I am afraid it is not possible to avoid the HTML escaping right now, the description string is made available as a shipping method metadata which are cleaned from any HTML content using the wc_clean function.

    I do understand the need for HTML content in the description, I will see if i can find a better way to pass the data to the shipping method.

    Thank you for your feedback.

    I second this request. It would be great to use inline css, and provide “a href” etc. in descriptions.

    Plugin Author thomascharbit



    Thrilled to see people actually using the plugin 🙂

    I released 1.2.0 with HTML tags support.
    Can you give it a try?


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I turn off html filtering?’ is closed to new replies.