Remove HTML from textarea type field

Support General Remove HTML from textarea type field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14265
    woorisewoorise
    Participant

    I am trying to remove HTML from a textarea type field before it saved in the database using the rwmb_{$field_type}_value filter but the filter it doesn't change the value. The field is also part of a group type field.

    #14266
    Anh TranAnh Tran
    Keymaster

    Hi Christopher,

    The sub-fields inside groups are not run through filters. Only the filter for the top-level group is used.

    So, please use the filter of the top-level group and modify the value of the sub-fields.

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