• Is it possible to disable escaping of HTML for the “store-content” field? I’m trying to add an extra opening hours table to the store content. If there is another way to add extra opening hours please let me know!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dylanpeekaboo

    (@dylanpeekaboo)

    The issue seems to be related to registered a custom field using the wpsl_meta_box_fields filter. After registering a field the method get_store_meta_data is supposed to determine the correct meta type for each field and apply the correct formatting for that field but it does see the custom field as a wp_editor/textfield so it doesn’t apply wp_kses_post but instead uses sanitize_text_field and stripslashes.

    Hi there, thanks for writing.

    For the time being, as you discovered, all default fields are being sanitized with sanitize_text_field when sent to the frontend, sorry about that. I’ll comment this with the dev team, though, so thanks for the input!

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.