Custom Fields
Re-Envisioned
Support General Remove HTML from textarea type field

  • Creator
    Topic
  • #14265
    woorise
    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.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #14266
    Anh 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 1 replies (of 1 total)
  • You must be logged in to reply to this topic.

Newsletter

Subscribe to our newsletter to receive news and tutorials for Meta Box and WordPress.


grid gear info copy caret-up caret-down trash