alch_allowed_editor_protocols
Last updated
Last updated
Filter alch_allowed_editor_protocols
can be used to change the default protocols that are allowed in the field, which uses those returned by as a default value.
This filter is applied just before saving the value to the database.
Say we want our Editor fields to allow only https
protocol
In a way it is similar to the filter, since both of them control what is going to be stored from the Editor field. The results of both filters are used in the before storing the value.